{"id":"GO-2022-0411","revision":"49e4633a50254568afff5462668862a3","records":[{"revision":"49e4633a50254568afff5462668862a3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0411","aliases":["CVE-2021-4238","GHSA-3839-6r69-m497","GHSA-xg2h-wx96-xgxr"],"title":"Insufficient randomness in github.com/Masterminds/goutils","description":"Randomly-generated alphanumeric strings contain significantly less entropy than expected.\n\nThe 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.","state":0,"publishedAt":"2022-07-01T20:08:24+00:00","modifiedAt":"2026-02-04T03:14:48.656588+00:00","affected":[{"ecosystem":"Go","name":"github.com/Masterminds/goutils","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0411","license":"OSV · upstream source license applies","key":"osv:GO-2022-0411","identifiers":["GO-2022-0411","CVE-2021-4238","GHSA-3839-6r69-m497","GHSA-xg2h-wx96-xgxr"]},"retained":false,"historicalAffected":[]}],"coverage":[]}