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
-
AZL-41275
CVE-2021-4238 affecting package influxdb for versions less than 2.7.3-3
- CGA-3f45-9j5x-95w7
- CGA-cq2r-f7hr-xm7x
- CGA-gc3j-pqgh-rcxh
- CGA-pf5v-h6f6-m3ph
-
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
-
RHSA-2023:0540
Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.1.6 security update
-
UBUNTU-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.…