GO-2022-0411

Source
https://pkg.go.dev/vuln/GO-2022-0411
Import Source
https://vuln.go.dev/ID/GO-2022-0411.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-0411
Aliases
Related
Published
2022-07-01T20:08:24Z
Modified
2024-09-11T06:13:42.199523Z
Summary
Insufficient randomness in github.com/Masterminds/goutils
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0411"
}
References

Affected packages

Go / github.com/Masterminds/goutils

Package

Name
github.com/Masterminds/goutils
View open source insights on deps.dev
Purl
pkg:golang/github.com/Masterminds/goutils

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/Masterminds/goutils",
            "symbols": [
                "CryptoRandomAlphaNumeric",
                "RandomAlphaNumeric"
            ]
        }
    ]
}