{"id":"CVE-2021-29499","aliases":["CVE-2021-29499","GHSA-4gh8-x3vv-phhg","GO-2022-0912"],"related":[],"kind":"vulnerability","state":"published","title":"Predictable SIF UUID Identifiers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Predictable SIF UUID Identifiers in github.com/sylabs/sif","format":"markdown","source":"go"},{"lang":"es","text":"SIF es una implementación de código abierto del Singularity Container Image Format.&#xa0;El comando \"siftool new\" y func siftool.New() producen identificadores UUID predecibles debido a una aleatoriedad no segura en la versión del módulo `github.com/satori/go.uuid\" usado como dependencia.&#xa0;Un parche disponible en la versión posteriores a v1.2.3 incluyéndo la del módulo.&#xa0;Los usuarios están decididos a actualizar.&#xa0;Como solución alternativa, los usuarios que pasen la estructura CreateInfo deben asegurarse de que el campo \"ID\" se genere utilizando una versión de \"github.com/satori/go.uuid\" que no es vulnerable a este problema","source":"nvd"}],"published":"2021-05-07T20:50:09.000Z","modified":"2026-07-08T06:28:43.589Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-330","CWE-340"],"affected":[{"ranges":[{"version":"<= 1.2.2","status":"affected"}],"vendor":"sylabs","product":"sif","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.3"}],"ecosystem":"Go","package":"github.com/sylabs/sif","purl":"pkg:golang/github.com/sylabs/sif","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.3"}],"ecosystem":"Go","package":"github.com/sylabs/sif","purl":"pkg:golang/github.com/sylabs/sif","source":"go"},{"ranges":[{"status":"affected","fixed":"1.2.3"}],"vendor":"sylabs","product":"singularity_image_format","cpe":"cpe:2.3:a:sylabs:singularity_image_format:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sylabs/sif/security/advisories/GHSA-4gh8-x3vv-phhg","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29499","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/satori/go.uuid/issues/73","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/sylabs/sif/commit/193962882122abf85ff5f5bcc86404933e71c07d","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/sylabs/sif","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29499","url":"https://www.cve.org/CVERecord?id=CVE-2021-29499","licence":"CVE Terms of Use","modified":"2024-08-03T22:11:05.383Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4gh8-x3vv-phhg","url":"https://github.com/advisories/GHSA-4gh8-x3vv-phhg","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:43.589Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0912","url":"https://pkg.go.dev/vuln/GO-2022-0912","licence":"CC-BY-4.0","modified":"2026-03-03T04:51:03.214Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29499","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29499","licence":"Public domain","modified":"2026-06-17T03:47:46.680Z"}],"updatedAt":"2026-11-25T22:58:01.235Z","epss":{"score":0.00958,"percentile":0.62485,"date":"2026-12-01T12:00:22.000Z"}}