Vulnerability in Github.com/masterminds/goutils
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.014, 73.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Github.com/masterminds/goutils — versions 0
- Goutils Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, drpaneas/goguard, seal-community/patches). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1 (Patch, Third Party Advisory)
- pkg.go.dev/vuln/GO-2022-0411 (Exploit, Patch, Third Party Advisory)