
CVE catalog
CVE-2021-23382
node-postcss: CVE-2021-23382
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.56% · Oct 25, 2026
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=(.*).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-postcss | sid | 8.5.31+~cs10.2.26-1 | fixed |
| Debian | node-postcss | forky | 8.5.31+~cs10.2.26-1 | fixed |
| Debian | node-postcss | trixie | 8.4.49+~cs9.2.32-1 | fixed |
| Debian | node-postcss | bookworm | 8.4.20+~cs8.0.23-1+deb12u1 | fixed |
| Npm | postcss | Not reported | 8.2.13 | fixed |
| Npm | postcss | Not reported | 7.0.36 | fixed |
| Ubuntu | node-postcss | 20.04 | 6.0.23-1 | vulnerable |
| Ubuntu | node-postcss | 20.04 | 6.0.23-3 | vulnerable |
| Ubuntu | node-postcss | 22.04 | 8.2.1+~cs5.3.23-8 | vulnerable |
| Ubuntu | node-postcss | 22.04 | 8.4.5+~cs7.1.51-2 | vulnerable |
| Ubuntu | node-postcss | 22.04 | 8.4.6+~cs7.3.21-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-postcss | source | sid | 8.2.1+~cs5.3.23-7 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | forky | 8.2.1+~cs5.3.23-7 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | trixie | 8.2.1+~cs5.3.23-7 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | bookworm | 8.2.1+~cs5.3.23-7 | not yet assigned | Not reported | Not reported |
| Npm | postcss | npm | Not reported | 8.2.13 | Not reported | Not reported | Not reported |
| Npm | postcss | npm | Not reported | 7.0.36 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-postcss]Fixed
Details (2)
8.4.20+~cs8.0.23-1+deb12u1· all · bookwormFixed · Fixed:
8.2.1+~cs5.3.23-7dsa · node-postcss · debian · bookworm; dsa · node-postcss · debian · 12
8.4.20+~cs8.0.23-1+deb12u1· all · bookwormFixed · Fixed:
8.2.1+~cs5.3.23-7dsa · node-postcss · debian · bookworm; dsa · node-postcss · debian · 12
[Debian 13 (Trixie)]
- [node-postcss]Fixed
Details (2)
8.4.49+~cs9.2.32-1· all · trixieFixed · Fixed:
8.2.1+~cs5.3.23-7dsa · node-postcss · debian · 13
8.4.49+~cs9.2.32-1· all · trixieFixed · Fixed:
8.2.1+~cs5.3.23-7dsa · node-postcss · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23382]
- [https://osv.dev/vulnerability/GHSA-566m-qj78-rww5]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-23382]
- [https://security-tracker.debian.org/tracker/CVE-2021-23382]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23382.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1350.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]