VULNERABILITY INTELLIGENCE
CVE-2021-4238
CVSS score9.1 CRITICAL
EPSS probability1.41%
CISA KEVNot currently listed
Published2022-12-27
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Description
Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.
Weakness classification
- nvd@nist.gov: CWE-331
Primary references
- security@golang.org — Patch, Third Party Advisory
- security@golang.org — Exploit, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Patch, Third Party Advisory