CVE-2022-21222
Last modified
CVE-2022-21222 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Css-What Project | Css-What | < 2.1.3 |
References
- https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12Broken Link, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488Exploit, Third Party Advisory
- https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12Broken Link, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21222?
How severe is CVE-2022-21222?
How do I fix CVE-2022-21222?
Are you affected by CVE-2022-21222?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
