CVE-2021-23382: postcss
CVSS: 7.5v3.1HighModified
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.56% chance of exploitation in the next 30 days, higher than 84.8% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
2.56%
0%100%
Low · +0.05 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference
Timeline
- 26-04-2021PublishedVulnerability first disclosed.
- 16-09-2024Last 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 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSources5 sources · 5.3–7.5
- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
2.56%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
+0.05 pp
From 2.51% on 20-09-2026
20-09-202620-10-2026
EPSS score2.56%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641X Refsource MISCREPORTWEBExploitPatchThird Party Advisory
- github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956X Refsource MISCREPORTWEBPatchThird Party Advisory