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.
Published: 2022-09-30
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3350-1 node-css-what security update
EUVD EUVD EUVD-2022-7138 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.
Github GHSA Github GHSA GHSA-p28h-cc7q-c4fg css-what vulnerable to ReDoS due to use of insecure regular expression
Ubuntu USN Ubuntu USN USN-6065-1 css-what vulnerabilities
History

Tue, 20 May 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Css-what Project Css-what
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2025-05-20T16:04:07.202Z

Reserved: 2022-02-24T00:00:00.000Z

Link: CVE-2022-21222

cve-icon Vulnrichment

Updated: 2024-08-03T02:31:59.016Z

cve-icon NVD

Status : Modified

Published: 2022-09-30T05:15:08.713

Modified: 2025-05-20T16:15:21.037

Link: CVE-2022-21222

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-09-30T00:00:00Z

Links: CVE-2022-21222 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses