Lucene search

K
cve[email protected]CVE-2021-4238
HistoryDec 27, 2022 - 10:15 p.m.

CVE-2021-4238

2022-12-2722:15:12
CWE-331
web.nvd.nist.gov
251
cve-2021-4238
randomalphanumeric
cryptorandomalphanumeric
entropy
security vulnerability

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

8.9 High

AI Score

Confidence

High

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

NVD
Node
goutils_projectgoutilsRange<1.1.1go

CNA Affected

[
  {
    "vendor": "github.com/Masterminds/goutils",
    "product": "github.com/Masterminds/goutils",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "github.com/Masterminds/goutils",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.1.1",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "RandomAlphaNumeric"
      },
      {
        "name": "CryptoRandomAlphaNumeric"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

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

8.9 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

54.0%