CVE-2022-21222

Summary

CVECVE-2022-21222
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-09-30 05:15:00 UTC
Updated2023-08-08 14:22:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-1333

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Css-what Project Css-what All All All All

References

ReferenceSourceLinkTags
N/A CONFIRM github.com
Regular Expression Denial of Service (ReDoS) in css-what | CVE-2022-21222 | Snyk CONFIRM security.snyk.io
[SECURITY] [DLA 3350-1] node-css-what security update MLIST lists.debian.org
css-what/index.js at a38effd5a8f5506d75c7f8f13cbd8c76248a3860 · fb55/css-what · GitHub MITRE github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Snyk Research Team

Legacy QID Mappings

  • 181124 Debian Security Update for node-css-what (CVE-2022-21222)
  • 181619 Debian Security Update for node-css-what (DLA 3350-1)
  • 199479 Ubuntu Security Notification for css-what Vulnerabilities (USN-6065-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report