CVE Database
/

CVE-2021-4238

Back to search

CVE-2021-4238

Published: Dec 27, 2022

Modified: Apr 11, 2025

PUBLISHED

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.

VendorProductVersions

github.com/Masterminds/goutils

github.com/Masterminds/goutils

affected
0 - < 1.1.1

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now