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.
References (2)
Core 2
Core References
Patch, Third Party Advisory
https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
Exploit, Patch, Third Party Advisory
https://pkg.go.dev/vuln/GO-2022-0411
Scores
CVSS v3
9.1
EPSS
0.0132
EPSS Percentile
67.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-331
Status
published
Products (2)
goutils_project/goutils
< 1.1.1
Masterminds/goutils
0 - 1.1.1Go
Published
Dec 27, 2022
Tracked Since
Feb 18, 2026