{"id":"CVE-2021-29499","aliases":["GHSA-4gh8-x3vv-phhg","GO-2022-0912"],"title":"Predictable SIF UUID Identifiers in github.com/sylabs/sif","summary":"Predictable SIF UUID Identifiers in github.com/sylabs/sif","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","vendor":"sylabs","product":"github.com/sylabs/sif","ecosystem":"go","affected":["github.com/sylabs/sif < 1.2.3"],"patched":["github.com/sylabs/sif 1.2.3"],"published":"2021-05-18","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-4gh8-x3vv-phhg","references":[{"url":"https://github.com/sylabs/sif/security/advisories/GHSA-4gh8-x3vv-phhg"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29499"},{"url":"https://github.com/satori/go.uuid/issues/73"},{"url":"https://github.com/sylabs/sif/commit/193962882122abf85ff5f5bcc86404933e71c07d"},{"url":"https://github.com/sylabs/sif"}],"tags":["osv","go"],"epss":0.00958,"epssPercentile":0.5997,"ingestedAt":"2026-07-09T18:56:35.901Z","slug":"CVE-2021-29499","body":"## Overview\n\n### Impact\n\nThe `siftool new` command and [func siftool.New()](https://pkg.go.dev/github.com/sylabs/sif/pkg/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.\n\n### Patches\n\nA patch is available in version >= v1.2.3 of the module. Users are encouraged to upgrade.\n\nThe patch is commit https://github.com/sylabs/sif/commit/193962882122abf85ff5f5bcc86404933e71c07d\n\n### Workarounds\nUsers passing [CreateInfo struct](https://pkg.go.dev/github.com/sylabs/sif/pkg/sif#CreateInfo) should ensure the `ID` field is generated using a version of `github.com/satori/go.uuid` that is not vulnerable to this issue. Unfortunately, the latest tagged release is vulnerable to this issue. One way to obtain a non-vulnerable version is:\n\n```\ngo get github.com/satori/go.uuid@75cca531ea763666bc46e531da3b4c3b95f64557\n```\n\n### References\n* https://github.com/satori/go.uuid/issues/73\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [github.com/sylabs/sif](https://github.com/sylabs/sif/issues/new)\n* Email us at [security@sylabs.io](mailto:security@sylabs.io)\n\n\n## Affected packages\n\n- `github.com/sylabs/sif < 1.2.3`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/sylabs/sif 1.2.3`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}