cve.bz

CVE-2021-4238

9.1 criticalEPSS 1.4%

Critical (9.1) in goutils project goutils. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in github.com/Masterminds/goutils 1.1.1.

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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
1.4% chance of exploitation in the next 30 days; higher than 72% of CVEs (scores of 2026-10-31)
CWE
CWE-331
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xg2h-wx96-xgxrGogithub.com/Masterminds/goutils<1.1.11.1.1
GO-2022-0411Gogithub.com/Masterminds/goutils<1.1.11.1.1

References

Check your stackJSON