CVE-2021-4238 – github.com/masterminds/goutils
Package
Manager: go
Name: github.com/masterminds/goutils
Vulnerable Version: >=0 <1.1.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00239 pctl0.46931
Details
GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected 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.
Metadata
Created: 2022-12-28T00:30:23Z
Modified: 2024-05-20T21:28:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-3839-6r69-m497/GHSA-3839-6r69-m497.json
CWE IDs: ["CWE-331"]
Alternative ID: GHSA-3839-6r69-m497
Finding: F034
Auto approve: 1