CVE-2021-4238

Source
https://cve.org/CVERecord?id=CVE-2021-4238
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-4238.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-4238
Aliases
Downstream
AZL (1)
CGA (4)
RHSA (1)
UBUNTU (1)
Published
2022-12-27T22:15:12Z
Modified
2026-08-18T15:12:08Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/masterminds/goutils

Affected ranges

Type
GIT
Repo
https://github.com/masterminds/goutils
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:goutils_project:goutils:*:*:*:*:*:go:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.1.1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
v1.*
v1.0.1
v1.1.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-4238.json"