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.
References
Link | Resource |
---|---|
https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1 | Patch Third Party Advisory |
https://pkg.go.dev/vuln/GO-2022-0411 | Exploit Patch Third Party Advisory |
https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1 | Patch Third Party Advisory |
https://pkg.go.dev/vuln/GO-2022-0411 | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:37
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1 - Patch, Third Party Advisory | |
References | () https://pkg.go.dev/vuln/GO-2022-0411 - Exploit, Patch, Third Party Advisory |
Information
Published : 2022-12-27 22:15
Updated : 2024-11-21 06:37
NVD link : CVE-2021-4238
Mitre link : CVE-2021-4238
CVE.ORG link : CVE-2021-4238
JSON object : View
Products Affected
goutils_project
- goutils
CWE
CWE-331
Insufficient Entropy