7.5

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

Modified
AliasesUBUNTU-CVE-2021-23382DEBIAN-CVE-2021-23382GHSA-566m-qj78-rww5
Published 26-04-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-23382 is a high (CVSS 7.5) vulnerability in postcss. EPSS estimates a 2.58% chance of exploitation in the next 30 days, higher than 85.7% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.58%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Timeline

  1. 26-04-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

Description

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=(.*).

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.58%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 2.56% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • node-postcss< 8.2.1+~cs5.3.23-7
Npm1 product
  • postcss≥ 8.0.0, < 8.2.13 | < 7.0.36
Postcss1 product
  • postcss< 7.0.36 | ≥ 8.0.0, < 8.2.13
Ubuntu1 product
  • node-postcssAll versions (No fix recorded)

4 vendors · 4 products

References

9 links