Skip to main content
← All vulnerabilities
CVE-2021-4238GO-2022-0411GHSA-3839-6R69-M497GHSA-XG2H-WX96-XGXR

Insufficient randomness in github.com/Masterminds/goutils

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • github.com/Masterminds/goutils

    fixed in 1.1.1

  • github.com/Masterminds/goutilsGo

    fixed in 1.1.1

References 2

GitHub · Masterminds/goutils

pkg.go.dev