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 |
Configurations
History
05 Jan 2023, 04:43
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:goutils_project:goutils:*:*:*:*:*:go:*:* | |
References | (MISC) https://pkg.go.dev/vuln/GO-2022-0411 - Exploit, Patch, Third Party Advisory | |
References | (MISC) https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1 - Patch, Third Party Advisory | |
CWE | CWE-331 | |
First Time |
Goutils Project goutils
Goutils Project |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.1 |
27 Dec 2022, 22:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-12-27 22:15
Updated : 2023-12-10 14:48
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