blob: ca916a7860b9d997299265903bf9cbaf99939f4b [file] [log] [blame]
{
"id": "GO-2022-0411",
"published": "2022-07-01T20:08:24Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2021-4238",
"GHSA-xg2h-wx96-xgxr",
"GHSA-3839-6r69-m497"
],
"details": "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.",
"affected": [
{
"package": {
"name": "github.com/Masterminds/goutils",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.1"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0411"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/Masterminds/goutils",
"symbols": [
"CryptoRandomAlphaNumeric",
"RandomAlphaNumeric"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1"
}
],
"schema_version": "1.3.1"
}