#VU71686 Insufficient Entropy in GoUtils


Published: 2023-01-31

Vulnerability identifier: #VU71686

Vulnerability risk: Low

CVSSv3.1: 3.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-4238

CWE-ID: CWE-331

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
GoUtils
Universal components / Libraries / Libraries used by multiple products

Vendor: Masterminds

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


External links
http://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
http://pkg.go.dev/vuln/GO-2022-0411
http://github.com/advisories/GHSA-xg2h-wx96-xgxr
http://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.


Latest bulletins with this vulnerability