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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-sylabs-sif | 2.3.1-2 | DEBIAN-CVE-2021-29499 |
| Debian:13 | golang-github-sylabs-sif | 2.3.1-2 | DEBIAN-CVE-2021-29499 |
| Debian:14 | golang-github-sylabs-sif | 2.3.1-2 | DEBIAN-CVE-2021-29499 |
| Go | github.com/sylabs/sif | 1.2.3 | GHSA-4gh8-x3vv-phhg |
| Go | github.com/sylabs/sif | 1.2.3 | GO-2022-0912 |
| Ubuntu:22.04:LTS | golang-github-sylabs-sif | no fix listed | UBUNTU-CVE-2021-29499 |
| Ubuntu:24.04:LTS | golang-github-sylabs-sif | no fix listed | UBUNTU-CVE-2021-29499 |
| Ubuntu:25.10 | golang-github-sylabs-sif | no fix listed | UBUNTU-CVE-2021-29499 |
| Ubuntu:26.10 | golang-github-sylabs-sif | no fix listed | UBUNTU-CVE-2021-29499 |
| Ubuntu:25.10 | singularity-container | no fix listed | UBUNTU-CVE-2021-29499 |
| Ubuntu:26.04:LTS | singularity-container | no fix listed | UBUNTU-CVE-2021-29499 |
Affected products (as reported)
Weakness: CWE-330 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/sylabs/sif/security/advisories/GHSA-4gh8-x3vv-phhg x_refsource_CONFIRM