# CVE-2022-21222: node-css-what: The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of...

CVE-2022-21222 is fixed in node-css-what on 1 platform, first by node-css-what 2.1.0-1+deb10u1build0.18.04.1, released September 29, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-21222
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0190
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 29, 2022

## Description

The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | node-css-what Debian 12.15 (bookworm) | 5.0.1-1 | [DEBIAN-CVE-2022-21222](https://patchblox.com/security/data/fix/linux/debian-cve-2022-21222.md) | Sep 30, 2022 |
| Linux | node-css-what Debian 13.5 (trixie) | 5.0.1-1 | [DEBIAN-CVE-2022-21222](https://patchblox.com/security/data/fix/linux/debian-cve-2022-21222.md) | Sep 30, 2022 |
| Linux | node-css-what Debian 14 | 5.0.1-1 | [DEBIAN-CVE-2022-21222](https://patchblox.com/security/data/fix/linux/debian-cve-2022-21222.md) | Sep 30, 2022 |
| Linux | node-css-what Ubuntu 18.04.6 LTS (bionic) | 2.1.0-1+deb10u1build0.18.04.1 | [node-css-what 2.1.0-1+deb10u1build0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-node-css-what-2.1.0-1-deb10u1build0.18.04.1.md) | Sep 29, 2022 |
| Linux | node-css-what Ubuntu 20.04 LTS (focal) | 3.2.1-1ubuntu0.1~esm1 | [node-css-what 3.2.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-node-css-what-3.2.1-1ubuntu0.1-esm1.md) | Sep 29, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
