Skip to content

Predictable SIF UUID Identifiers

Low
tri-adam published GHSA-4gh8-x3vv-phhg May 7, 2021

Package

github.com/sylabs/sif (go mod)

Affected versions

<= 1.2.2

Patched versions

1.2.3

Description

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 1939628

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:

Severity

Low

CVE ID

CVE-2021-29499

Weaknesses

No CWEs