High, CVSS 7.5GoPublished
Predictable SIF UUID Identifiers in github.com/sylabs/sif
CVE-2021-29499 · GHSA-4gh8-x3vv-phhg
- Affected
- Go github.com/sylabs/sif < 1.2.3
- Fixed in
- 1.2.3· Vendor fix available
- Issue
- Impact 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. Patches A patch is available in version = v1.2.3 of the module. Users are encouraged to upgrade. The patch is commit https://github.com/sylabs/sif/commit/193962882122abf85ff5f5bcc86404933e71c07d Workarounds 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. Unfortunately, the latest tagged release is vulnerable to this issue. One way to obtain a non-vulnerable version is: References https://github.com/satori/go.uuid/issues/73 For more information If you have any questions or comments about this advisory: Open an issue in github.com/sylabs/sif Email us at security@sylabs.io
Recommended action: Upgrade to 1.2.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.