CVE-2021-4238 - CVE House
Back to Database
Status published Unknown CVE-2021-4238

Insufficient randomness in github.com/Masterminds/goutils

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-4238

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

github.com/Masterminds/goutils

View all reports →

Affected Software

github.com/Masterminds/goutils
Vulnerable Versions:
0

Timeline

Official Publish: December 27th, 2022
Last Modified: April 11th, 2025
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.