Vulnerability · Published May 7, 2021 · Assigned by GitHub_M

CVE-2021-29499Predictable SIF UUID Identifiers

High 7.5

In plain English

A high-severity weak randomness in sif from sylabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.0%top 38.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

SIF is an open source implementation of the Singularity Container Image Format. The `siftool new` command and func siftool.New() produce predictable UUID identifiers due to insecure randomness in the version of the `github.com/satori/go.uuid` module used as a dependency. A patch is available in version >= v1.2.3 of the module. Users are encouraged to upgrade. As a workaround, users passing CreateInfo struct should ensure the `ID` field is generated using a version of `github.com/satori/go.uuid` that is not vulnerable to this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-sylabs-sif2.3.1-2DEBIAN-CVE-2021-29499
Debian:13golang-github-sylabs-sif2.3.1-2DEBIAN-CVE-2021-29499
Debian:14golang-github-sylabs-sif2.3.1-2DEBIAN-CVE-2021-29499
Gogithub.com/sylabs/sif1.2.3GHSA-4gh8-x3vv-phhg
Gogithub.com/sylabs/sif1.2.3GO-2022-0912
Ubuntu:22.04:LTSgolang-github-sylabs-sifno fix listedUBUNTU-CVE-2021-29499
Ubuntu:24.04:LTSgolang-github-sylabs-sifno fix listedUBUNTU-CVE-2021-29499
Ubuntu:25.10golang-github-sylabs-sifno fix listedUBUNTU-CVE-2021-29499
Ubuntu:26.10golang-github-sylabs-sifno fix listedUBUNTU-CVE-2021-29499
Ubuntu:25.10singularity-containerno fix listedUBUNTU-CVE-2021-29499
Ubuntu:26.04:LTSsingularity-containerno fix listedUBUNTU-CVE-2021-29499

Affected products (as reported)

VendorProductVersions
sylabs sif <= 1.2.2

Weakness: CWE-330 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References