CVE-2021-4238 Insufficient randomness in github.com/Masterminds/goutils
CriticalCVSS 9.1
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-masterminds-goutils(Ubuntu 22.04) | = 1.1.1-2; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-masterminds-goutils(Ubuntu 24.04) | = 1.1.1-4; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-masterminds-goutils(Ubuntu 25.10) | = 1.1.1-4; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-masterminds-goutils(Ubuntu 26.04) | = 1.1.1-4; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-masterminds-goutils(Ubuntu 26.10) | = 1.1.1-4; All versions | No fix listed | No fix yet |
| goutils project goutils | < 1.1.1 | 1.1.1 | Fixed |
| Masterminds github.com/Masterminds/goutils(Go) | < 1.1.1 | 1.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Masterminds github.com/Masterminds/goutils(Go) | < 1.1.1 | 1.1.1 |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:22.04) | All versions | No fix listed |
| goutils project goutils | < 1.1.1 | 1.1.1 |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:22.04) | = 1.1.1-2 | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:24.04) | = 1.1.1-4 | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:25.10) | = 1.1.1-4 | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:26.10) | = 1.1.1-4 | No fix listed |
| ubuntu/golang-github-masterminds-goutils(Ubuntu:26.04) | = 1.1.1-4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com product
- pkg.go.dev exploit issue-tracking patch third-party-advisory
- github.com vendor-advisory
- github.com patch
- github.com
- github.com
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- Debian Security Tracker CVE-2021-4238 vendor-advisory