{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-4238","published":"2022-12-27T22:15:12.073000Z","last_modified":"2026-06-17T04:19:19.660000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-331"],"cpes":[{"criteria":"cpe:2.3:a:goutils_project:goutils:*:*:*:*:*:go:*:*","part":"a","vendor":"goutils_project","product":"goutils","version_end_excluding":"1.1.1"}],"cpes_truncated":false,"vendors":["goutils_project"],"products":["goutils_project/goutils"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"epss":{"score":0.01408,"percentile":0.72845,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xg2h-wx96-xgxr","ecosystem":"Go","name":"github.com/Masterminds/goutils","purl":"pkg:golang/github.com/Masterminds/goutils","ranges":[{"introduced":"0","fixed":"1.1.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0411","ecosystem":"Go","name":"github.com/Masterminds/goutils","purl":"pkg:golang/github.com/Masterminds/goutils","ranges":[{"introduced":"0","fixed":"1.1.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2021-4238/","html_en":"/en/cve/CVE-2021-4238/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4238","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4238"},"untrusted":{"vendor_name":"Goutils Project","product_name":"Goutils","desc_en":"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.","affected":[{"untrusted_vendor":"github.com/Masterminds/goutils","untrusted_product":"github.com/Masterminds/goutils","versions":[]}],"references":[{"url":"https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1","tags":["Patch","Third Party Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0411","tags":["Exploit","Patch","Third Party Advisory"]}]}}