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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-26 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2021-23382, DEBIAN-CVE-2021-23382, GHSA-566m-qj78-rww5
- Record: https://cvemate.com/vulnerability/CVE-2021-23382 · JSON: https://cvemate.com/vulnerability/CVE-2021-23382/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.578%, percentile 85.721%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- debian node-postcss (Debian): \< 8.2.1+~cs5.3.23-7
- ubuntu node-postcss (Ubuntu): All versions (No fix recorded)
- Npm postcss (Npm): ≥ 8.0.0, \< 8.2.13 \| \< 7.0.36
- postcss postcss: \< 7.0.36 \| ≥ 8.0.0, \< 8.2.13

## References

- <https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641>
- <https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956>
- <https://ubuntu.com/security/CVE-2021-23382>
- <https://github.com/postcss/postcss/commit/2ad1ca9b965dde32223bee28dc259c339cbaaa05>
- <https://www.cve.org/CVERecord?id=CVE-2021-23382>
- <https://security-tracker.debian.org/tracker/CVE-2021-23382>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23382>
- <https://github.com/postcss/postcss/releases/tag/7.0.36>

---

Data as of 2026-12-05T08:54:46.981Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
