Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Css-What Project | Css-What | < 2.1.3 |
Related Weaknesses (CWE)
References
- https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/iBroken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html
- https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488ExploitThird Party Advisory
- https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/iBroken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html
- https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488ExploitThird Party Advisory
FAQ
What is CVE-2022-21222?
CVE-2022-21222 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 o...
How severe is CVE-2022-21222?
CVE-2022-21222 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-21222?
Check the references section above for vendor advisories and patch information. Affected products include: Css-What Project Css-What.