Skip to main content

Insufficient Entropy

CVE-2021-4238

Severity High
Score 9.1/10

Summary

The package github.com/Masterminds/goutils versions prior to 1.1.1 is vulnerable to Insufficient Entropy. 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-331 - Insufficient Entropy

The software uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

Advisory Timeline

  • Published