GO-2022-0411
Dashboard / Vulnerabilities / GO-2022-0411
Summary: Insufficient randomness in github.com/Masterminds/goutils
Details: 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 packages
Package
Name: github.com/Masterminds/goutils
Purl: pkg:golang/github.com/Masterminds/goutils
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.1.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
