Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/satori/go.uuid
  4. ›
  5. CVE-2021-3538

CVE-2021-3538: go.uuid has Predictable UUID Identifiers

February 7, 2023 (updated September 19, 2024)

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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1954376
  • github.com/advisories/GHSA-33m6-q9v5-62r7
  • github.com/apptainer/sif/security/advisories/GHSA-33m6-q9v5-62r7
  • github.com/hpcng/sif/security/advisories/GHSA-33m6-q9v5-62r7
  • github.com/satori/go.uuid
  • github.com/satori/go.uuid/commit/75cca531ea763666bc46e531da3b4c3b95f64557
  • github.com/satori/go.uuid/issues/73
  • github.com/satori/go.uuid/pull/75
  • nvd.nist.gov/vuln/detail/CVE-2021-3538
  • pkg.go.dev/vuln/GO-2022-0244
  • snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSATORIGOUUID-72488

Code Behaviors & Features

Detect and mitigate CVE-2021-3538 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.2.1-0.20180103161547-0ef6afb2f6cd before 1.2.1-0.20180404165556-75cca531ea76

Fixed versions

  • 1.2.1-0.20180404165556-75cca531ea76

Solution

Upgrade to version 1.2.1-0.20180404165556-75cca531ea76 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Source file

go/github.com/satori/go.uuid/CVE-2021-3538.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:32 +0000.