Ubuntu CVE Tracker
UBUNTU-CVE-2022-21222
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | node-css-what | All versions before 2.1.0-1ubuntu0.16.04.1~esm1 (fixed in 2.1.0-1ubuntu0.16.04.1~esm1) |
| Ubuntu:18.04:LTS | node-css-what | All versions before 2.1.0-1+deb10u1build0.18.04.1 (fixed in 2.1.0-1+deb10u1build0.18.04.1) |
| Ubuntu:Pro:20.04:LTS | node-css-what | All versions before 3.2.1-1ubuntu0.1~esm1 (fixed in 3.2.1-1ubuntu0.1~esm1) |
| Ubuntu:24.04:LTS | node-css-what | All versions, no fix listed |
| Ubuntu:25.10 | node-css-what | All versions, no fix listed |
| Ubuntu:26.10 | node-css-what | All versions, no fix listed |
| Ubuntu:26.04:LTS | node-css-what | All versions, no fix listed |