Insufficient entropy in GoUtils



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-4238
CWE-ID CWE-331
Exploitation vector Network
Public exploit N/A
Vulnerable software
GoUtils
Universal components / Libraries / Libraries used by multiple products

Vendor Masterminds

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Insufficient Entropy

EUVDB-ID: #VU71686

Risk: Low

CVSSv4.0: 1.7 [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 - Insufficient Entropy

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

GoUtils: 1.0.0 - 1.1.0

CPE2.3 External links

https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
https://pkg.go.dev/vuln/GO-2022-0411
https://github.com/advisories/GHSA-xg2h-wx96-xgxr
https://github.com/advisories/GHSA-3839-6r69-m497


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###