Lucene search

K
osvGoogleOSV:GO-2022-0411
HistoryJul 01, 2022 - 8:08 p.m.

Insufficient randomness in github.com/Masterminds/goutils

2022-07-0120:08:24
Google
osv.dev
9

9.1 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

51.5%

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.

CPENameOperatorVersion
github.com/masterminds/goutilslt1.1.1

9.1 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

51.5%