GHSA-33m6-q9v5-62r7

Source
https://github.com/advisories/GHSA-33m6-q9v5-62r7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-33m6-q9v5-62r7/GHSA-33m6-q9v5-62r7.json
Aliases
Published
2023-02-07T22:57:53Z
Modified
2024-04-22T22:03:39Z
Details

Impact

The siftool new command produces 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.1-0.20180404165556-75cca531ea76 of the module. Users are encouraged to upgrade.

Fixed by https://github.com/hpcng/sif/pull/90

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 -u github.com/satori/go.uuid@v1.2.1-0.20180404165556-75cca531ea76

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 https://github.com/hpcng/sif/issues

References

Affected packages

Go / github.com/satori/go.uuid

Affected ranges

Type
SEMVER
Events
Introduced
1.2.1-0.20180103161547-0ef6afb2f6cd
Fixed
1.2.1-0.20180404165556-75cca531ea76

Go / github.com/apptainer/sif

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
1.2.2