cve.bz

CVE-2021-3538 satori uuid

9.8 criticalEPSS 2.3%Fix available

Critical (9.8) in satori uuid. EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/satori/go.uuid 1.2.1-0.20180404165556-75cca531ea76.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-26. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/satori/go.uuid (Go): fixed in 1.2.1-0.20180404165556-75cca531ea76

Ask an AI about this CVE

Show the promptExplain CVE-2021-3538 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3538?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3538?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3538 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-33m6-q9v5-62r7Gogithub.com/satori/go.uuid>=1.2.1-0.20180103161547-0ef6afb2f6cd <1.2.1-0.20180404165556-75cca531ea761.2.1-0.20180404165556-75cca531ea76
GO-2022-0244Gogithub.com/satori/go.uuid>=1.2.1-0.20180103161547-0ef6afb2f6cd <1.2.1-0.20180404165556-75cca531ea761.2.1-0.20180404165556-75cca531ea76

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

For OpenShift Virtualization, github.com/satori/go.uuid is referenced in some of the projects' go.sum files, however it is only used in ovs-cni-plugin-container, where a version including the fix for this flaw is used.

An upstream fix has been pushed into the master branch [1], but new release was not published.

[1] https://github.com/satori/go.uuid/commit/d91630c8510268e75203009fe7daf2b8e1d60c45

ProductPackageStateAdvisory
Migration Toolkit for Containersrhmtc/openshift-migration-controller-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-registry-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-gcp-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-microsoft-azure-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/cert-policy-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/cluster-curator-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/clusterlifecycle-state-metrics-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/config-policy-controller-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/endpoint-monitoring-rhel8-operatorNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/governance-policy-propagator-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/governance-policy-spec-sync-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/governance-policy-status-sync-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/governance-policy-template-sync-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/iam-policy-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/lighthouse-agent-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/lighthouse-coredns-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/managedcluster-import-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/management-ingress-rhel8Not affected
78 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3538.

References

Check your stackJSON