VDB
GHSA-xg2h-wx96-xgxr
GHSA-xg2h-wx96-xgxr
PUBLISHED
CVSS 9.300000190734863 CRITICAL
RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
Record from GitHub Advisory Database · Published May 21, 2021
github.com/Masterminds/goutils is fixed in 1.1.1 (Go Modules)
RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/Masterminds/goutils | Go Modules | 1.1.1 |
| dynamic-localpv-provisioner | Wolfi | 3.4.1-r3 |
| dynamic-localpv-provisioner-fips | Chainguard | 3.5.0-r0 |
| dynamic-localpv-provisioner | Chainguard | 3.4.1-r3 |
Risk scores
CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| wolfi | dynamic-localpv-provisioner | 0 |
| github.com | Masterminds/goutils | 0 |
| chainguard | dynamic-localpv-provisioner-fips | 0 |
| chainguard | dynamic-localpv-provisioner | 0 |
Timeline
- May 21, 2021 CVE Published
- Jan 26, 2026 CVE Updated
- May 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-xg2h-wx96-xgxr
vulnetix vdb fixes GHSA-xg2h-wx96-xgxr
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-xg2h-wx96-xgxr/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/advisories/GHSA-xg2h-wx96-xgxr advisory
- https://github.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr url
- https://nvd.nist.gov/vuln/detail/CVE-2021-4238 advisory
- https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1 url
- https://github.com/Masterminds/goutils/commit/f1923532a168b8203bfe956d8cd3b17ebece5982 url
- https://github.com/Masterminds/goutils package
- https://github.com/Masterminds/goutils/releases/tag/v1.1.1 url
- https://pkg.go.dev/vuln/GO-2022-0411 url