
Cloud Vulnerability DB
A community-led vulnerabilities database
A security vulnerability (CVE-2021-3538) was discovered in github.com/satori/go.uuid, affecting versions from commit 0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c to d91630c8510268e75203009fe7daf2b8e1d60c45. The vulnerability was reported on March 23, 2018, and officially published as a CVE on June 2, 2021. The affected package provides a pure Go implementation of Universally Unique Identifier (UUID) (MITRE CVE, NVD Database).
The vulnerability stems from insecure randomness in the g.rand.Read function, which results in the generation of predictable UUID identifiers. The issue was assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator) (NVD Database, Snyk Advisory).
Due to the insecure randomness implementation, the generated UUIDs are predictable for an attacker. This predictability compromises the fundamental purpose of UUIDs, which are meant to be unique and random identifiers. The impact is particularly severe in systems that rely on these UUIDs for security-critical operations or unique identification purposes (NVD Database).
A fix was pushed to the master branch in commit d91630c8510268e75203009fe7daf2b8e1d60c45, which changed the g.rand.Read function to use ReadFull. However, since the project has been effectively abandoned, the recommended mitigation is to switch to https://github.com/gofrs/uuid, which is a maintained fork of the original project (Red Hat Bugzilla).
The security community has noted that the satori/go.uuid project was abandoned long ago, and there is a consensus that users should migrate to the gofrs/uuid fork, which is actively maintained. The vulnerability has raised concerns in the Go community, particularly given the package's widespread use in various projects (Red Hat Bugzilla).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."