CVE-2022-21222 Detail

Current 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.

View Analysis Description

Analysis 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.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-400 Uncontrolled Resource Consumption NIST  

Change History

2 change records found show changes

Initial Analysis 10/04/2022 2:25:30 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:* versions up to (excluding) 2.1.3
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added CWE
NIST CWE-400
Changed Reference Type
https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12 No Types Assigned
https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12 Broken Link, Third Party Advisory
Changed Reference Type
https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488 No Types Assigned
https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488 Exploit, Third Party Advisory

CVE Modified by Snyk 9/30/2022 2:15:09 AM

Action Type Old Value New Value
Changed 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.


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.

Quick Info

CVE Dictionary Entry:
CVE-2022-21222
NVD Published Date:
09/30/2022
NVD Last Modified:
10/04/2022
Source:
Snyk