CVE-2021-4238
Insufficient randomness in github.com/Masterminds/goutils
9.1
CRITICAL
CVSS 3.1
EPSS 0.34%
Description
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.
How to fix CVE-2021-4238
To remediate CVE-2021-4238, upgrade the affected package to a fixed version below.
- —upgrade to 1.1.1 or later
- —upgrade to 1.1.1 or later
- —upgrade to 1.1.1 or later
Is CVE-2021-4238 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.1.1
- from 0, < 1.1.1
- from 0, < 1.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |