Paper/Archive/CVE-2021-4238

CVE-2021-4238

github.com/Masterminds/goutils github.com/Masterminds/goutils — Insufficient randomness in github.com/Masterminds/goutils

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
github.com/Masterminds/goutils< 1.1.11.1.1CNA

Scores by source

CISA ADP9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1refpkg.go.dev/vuln/GO-2022-0411