Vulnerability
CVE-2021-4238
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.
10 advisories report this vulnerability, across 6 ecosystems.
Advisories in Go
-
GHSA-3839-6r69-m497
Duplicate Advisory: GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected
-
GHSA-xg2h-wx96-xgxr
RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
-
GO-2022-0411
Insufficient randomness in github.com/Masterminds/goutils