CVE-2022-21222
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
ProductCss-what
PublishedSep 30, 2022
First seenSep 30, 2022
Weakness typeCWE-1333CWE-1333
How to fix
Update
- css-what_project css-what2.1.3 or later
- css-what2.1.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| css-what_project css-what | v < 2.1.3 | 2.1.3 |
| css-whatnpm | v < 2.1.3 | 2.1.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.