{"id":"CVE-2021-4238","details":"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.","aliases":["GHSA-3839-6r69-m497","GHSA-xg2h-wx96-xgxr","GO-2022-0411"],"modified":"2026-07-09T00:21:28.789532Z","published":"2022-12-27T22:15:12.073Z","related":["CGA-cx55-8x76-2v73"],"references":[{"type":"FIX","url":"https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1"},{"type":"FIX","url":"https://pkg.go.dev/vuln/GO-2022-0411"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/masterminds/goutils","events":[{"introduced":"0"},{"fixed":"f1923532a168b8203bfe956d8cd3b17ebece5982"},{"fixed":"869801f20f9f1e7ecdbdb6422049d8241270d5e1"}],"database_specific":{"cpe":"cpe:2.3:a:goutils_project:goutils:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.1.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.1.0","v1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4238.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}