Vulnerability · Published Apr 12, 2021 · Assigned by snyk
CVE-2021-23368Regular Expression Denial of Service (ReDoS)
Medium 5.3
In plain English
A medium-severity security flaw in postcss. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.5% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)3.5%top 10.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-postcss | 8.2.1+~cs5.3.23-6 | DEBIAN-CVE-2021-23368 |
| Debian:13 | node-postcss | 8.2.1+~cs5.3.23-6 | DEBIAN-CVE-2021-23368 |
| Debian:14 | node-postcss | 8.2.1+~cs5.3.23-6 | DEBIAN-CVE-2021-23368 |
| Ubuntu:22.04:LTS | node-postcss | no fix listed | UBUNTU-CVE-2021-23368 |
| npm | postcss | 7.0.36 | GHSA-hwj9-h5mp-3pm3 |
| npm | postcss | 8.2.10 | GHSA-hwj9-h5mp-3pm3 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1244795 x_refsource_MISC
- https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5 x_refsource_MISC
- https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4 x_refsource_MISC
- [myfaces-dev] 20210421 [GitHub] [myfaces-tobago] henningn opened a new pull request #774: build(postcss): update dependency to fix CVE-2021-23368 mailing-list, x_refsource_MLIST
- [myfaces-dev] 20210421 [GitHub] [myfaces-tobago] henningn merged pull request #774: build(postcss): update dependency to fix CVE-2021-23368 mailing-list, x_refsource_MLIST
- [myfaces-dev] 20210421 [GitHub] [myfaces-tobago] lofwyr14 opened a new pull request #775: Updating lib, to avoid CVE problem CVE-2021-23368 with postcss mailing-list, x_refsource_MLIST
- [myfaces-commits] 20210421 [myfaces-tobago] branch master updated: Updating lib, to avoid CVE problem CVE-2021-23368 with postcss mailing-list, x_refsource_MLIST
- [myfaces-commits] 20210421 [myfaces-tobago] branch master updated: build(postcss): update dependency to fix CVE-2021-23368 mailing-list, x_refsource_MLIST
- [myfaces-dev] 20210421 [GitHub] [myfaces-tobago] lofwyr14 merged pull request #775: Updating lib, to avoid CVE problem CVE-2021-23368 with postcss mailing-list, x_refsource_MLIST