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.
Published: 2022-12-27
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD 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 Github GHSA GHSA-3839-6r69-m497 GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected
Github GHSA Github GHSA GHSA-xg2h-wx96-xgxr RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
History

Fri, 11 Apr 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Goutils Project Goutils
Redhat Openshift Openshift Data Foundation Openshift Gitops Service Mesh
cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2025-04-11T16:17:46.299Z

Reserved: 2022-07-29T19:56:49.058Z

Link: CVE-2021-4238

cve-icon Vulnrichment

Updated: 2024-08-03T17:23:10.165Z

cve-icon NVD

Status : Modified

Published: 2022-12-27T22:15:12.073

Modified: 2025-04-11T17:15:35.883

Link: CVE-2021-4238

cve-icon Redhat

Severity : Important

Publid Date: 2022-12-27T00:00:00Z

Links: CVE-2021-4238 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses