Description
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.
No analysis available yet.
Remediation
No remediation available yet.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-7482 | 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. |
Github GHSA |
GHSA-3839-6r69-m497 | GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected |
Github GHSA |
GHSA-xg2h-wx96-xgxr | RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be |
References
History
Fri, 11 Apr 2025 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: Go
Published:
Updated: 2025-04-11T16:17:46.299Z
Reserved: 2022-07-29T19:56:49.058Z
Link: CVE-2021-4238
Updated: 2024-08-03T17:23:10.165Z
Status : Modified
Published: 2022-12-27T22:15:12.073
Modified: 2025-04-11T17:15:35.883
Link: CVE-2021-4238
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA