Lucene search

K
cvelistSnykCVELIST:CVE-2021-23382
HistoryApr 26, 2021 - 12:00 a.m.

CVE-2021-23382 Regular Expression Denial of Service (ReDoS)

2021-04-2600:00:00
snyk
www.cve.org
4
package postcss
regular expression denial of service
vulnerable regexes

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

AI Score

7.7

Confidence

High

EPSS

0.002

Percentile

58.6%

The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern /*\s* sourceMappingURL=(.*).

CNA Affected

[
  {
    "product": "postcss",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "8.2.13",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

AI Score

7.7

Confidence

High

EPSS

0.002

Percentile

58.6%