blob: b66b941ae80a81180f47b3601147dd88aa759dce [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0411",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-01T20:08:24Z",
"aliases": [
"CVE-2021-4238",
"GHSA-3839-6r69-m497",
"GHSA-xg2h-wx96-xgxr"
],
"summary": "Insufficient randomness in github.com/Masterminds/goutils",
"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"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/Masterminds/goutils",
"symbols": [
"CryptoRandomAlphaNumeric",
"RandomAlphaNumeric"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0411"
}
}