Skip to content
CVE PROGRAM SOURCE RECORD9.1 Critical

CVE-2021-4238

Insufficient randomness in github.com/Masterminds/goutils

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

github.com/Masterminds/goutils github.com/Masterminds/goutils

Default version status: unaffected

  • 0 to < 1.1.1affected

References