Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTRnaDgteDN2di1waGhn
Predictable SIF UUID Identifiers in github.com/sylabs/sif
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:
go get github.com/satori/go.uuid@75cca531ea763666bc46e531da3b4c3b95f64557
References
For more information
If you have any questions or comments about this advisory:
- Open an issue in github.com/sylabs/sif
- Email us at [email protected]
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTRnaDgteDN2di1waGhn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: almost 2 years ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Identifiers: GHSA-4gh8-x3vv-phhg, CVE-2021-29499
References:
- https://github.com/sylabs/sif/security/advisories/GHSA-4gh8-x3vv-phhg
- https://nvd.nist.gov/vuln/detail/CVE-2021-29499
- https://github.com/satori/go.uuid/issues/73
- https://github.com/sylabs/sif/commit/193962882122abf85ff5f5bcc86404933e71c07d
- https://github.com/advisories/GHSA-4gh8-x3vv-phhg
Blast Radius: 7.8
Affected Packages
go:github.com/sylabs/sif
Dependent packages: 3Dependent repositories: 11
Downloads:
Affected Version Ranges: < 1.2.3
Fixed in: 1.2.3
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.1.0, 1.2.0, 1.2.1, 1.2.2
All unaffected versions: 1.2.3, 1.2.4, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.6.0, 1.7.0