{"id":"GHSA-3839-6r69-m497","revision":"128caec492954b8caaf84e32be697109","records":[{"revision":"128caec492954b8caaf84e32be697109","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-3839-6r69-m497","aliases":["CVE-2021-4238","GHSA-xg2h-wx96-xgxr","GO-2022-0411"],"title":"Duplicate Advisory: GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-xg2h-wx96-xgxr. This link is maintained to preserve external references.\n\n## Original Description\nRandomly-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.","state":2,"publishedAt":"2022-12-28T00:30:23+00:00","modifiedAt":"2026-09-10T03:49:50.2358268+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":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-4238","https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1","https://github.com/Masterminds/goutils","https://pkg.go.dev/vuln/GO-2022-0411"],"sourceUrl":"https://github.com/advisories/GHSA-3839-6r69-m497","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3839-6r69-m497","identifiers":["GHSA-3839-6r69-m497","CVE-2021-4238","GHSA-xg2h-wx96-xgxr","GO-2022-0411"]},"retained":false,"historicalAffected":[]}],"coverage":[]}