CVE-2021-23368: Regular Expression Denial of Service (ReDoS)
Vulnerability summary
CVE-2021-23368 is a medium (CVSS 5.3) vulnerability in postcss. EPSS estimates a 3.51% chance of exploitation in the next 30 days, higher than 89.5% of scored vulnerabilities. 2 public exploits are recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-04-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
3.51%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.51% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
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-6
Npm1 product
- postcss≥ 7.0.0, < 7.0.36 | ≥ 8.0.0, < 8.2.10
Postcss1 product
- postcss≥ 7.0.0, < 7.0.36 | ≥ 8.0.0, < 8.2.10
Ubuntu1 product
- node-postcssAll versions (No fix recorded)
4 vendors · 4 products
References
21 links- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1244795X Refsource MISCREPORTWEBExploitPatchThird Party Advisory
- github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5X Refsource MISCREPORTWEBPatchThird Party Advisory
- github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4X Refsource MISCREPORTWEBPatchThird Party Advisory