CVE-2021-4238
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| github.com/Masterminds/goutils | github.com/Masterminds/goutils | 0 < 1.1.1 | affected |
Weaknesses
- CWE 330: Use of Insufficiently Random Values
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
- https://pkg.go.dev/vuln/GO-2022-0411
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
- https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
- https://pkg.go.dev/vuln/GO-2022-0411
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.