CVE-2022-21222

Regular Expression Denial of Service (ReDoS)

Published Sep 30, 2022 CVSS 3.1 · 5.3 Medium EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics ssvc

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
May 20, 2025, 4:04 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Sep 30, 2022, 5:15 AM
Modified
Jun 17, 2026, 4:25 AM
Severity
Moderate
Public date
Sep 30, 2022, 12:00 AM