Insufficient Entropy in GoUtils - CVE-2021-4238

 

Insufficient Entropy in GoUtils - CVE-2021-4238

Published: January 31, 2023


Vulnerability identifier: #VU71686
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-4238
CWE-ID: CWE-331
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Masterminds
Affected software:
GoUtils

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient entropy when generating alphanumeric strings within RandomAlphaNumeric and CryptoRandomAlphaNumeric functions, which always return strings containing at least one digit from 0 to 9. A remote attacker can launch brute-force attacks and gain access to sensitive information.


How to mitigate CVE-2021-4238

Install updates from vendor's website.

Sources