Vulnerability · Published Jun 2, 2021 · Assigned by redhat
CVE-2021-3538
Critical 9.8
In plain English
A critical-severity security flaw in satori/go.uuid. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.3%top 16.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A flaw was found in github.com/satori/go.uuid in versions from commit 0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c to d91630c8510268e75203009fe7daf2b8e1d60c45. Due to insecure randomness in the g.rand.Read function the generated UUIDs are predictable for an attacker.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/satori/go.uuid | 1.2.1-0.20180404165556-75cca531ea76 | GHSA-33m6-q9v5-62r7 |
| Go | github.com/satori/go.uuid | 1.2.1-0.20180404165556-75cca531ea76 | GO-2022-0244 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | satori/go.uuid | All satori/go.uuid versions from commit 0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c to d91630c8510268e75203009fe7daf2b8e1d60c45 |
Weakness: CWE-338
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1954376 x_refsource_MISC
- https://github.com/satori/go.uuid/issues/73 x_refsource_MISC
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSATORIGOUUID-72488 x_refsource_MISC