Lucene search

K
githubGitHub Advisory DatabaseGHSA-3839-6R69-M497
HistoryDec 28, 2022 - 12:30 a.m.

GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected

2022-12-2800:30:23
CWE-331
GitHub Advisory Database
github.com
12
randomly-generated
alphanumeric
entropy
cryptorandomalphanumeric
goutils
software

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

0.002 Low

EPSS

Percentile

54.0%

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 configurations

Vulners
Node
goutils_projectgoutilsRange<1.1.1go
CPENameOperatorVersion
github.com/masterminds/goutilslt1.1.1

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

0.002 Low

EPSS

Percentile

54.0%