CVE-2021-3538Satori Uuid
Critical 9.8 No auth needed
Follow: this CVE · Satori · Satori Uuid We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jun 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Uuid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/satori/go.uuid |
≥ 1.2.1-0.20180103161547-0ef6afb2f6cd < 1.2.1-0.20180404165556-75cca531ea76 |
1.2.1-0.20180404165556-75cca531ea76 |
go get github.com/satori/go.uuid@v1.2.1-0.20180404165556-75cca531ea76 |
| Go | github.com/satori/go.uuid |
≥ 1.2.1-0.20180103161547-0ef6afb2f6cd < 1.2.1-0.20180404165556-75cca531ea76 |
1.2.1-0.20180404165556-75cca531ea76 |
go get github.com/satori/go.uuid@v1.2.1-0.20180404165556-75cca531ea76 |
Per OSV / GitHub Advisories (GHSA-33m6-q9v5-62r7, GO-2022-0244). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| satori | uuid | all |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- github.com Third Party Advisory
- snyk.io Third Party Advisory