CVE & CISA-KEV Catalog

CVE-2022-21222

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
node-css-whatDebian
Fixed in:4.0.0-3+deb11u1CVE-2022-21222
Fixed in:5.0.1-1CVE-2022-21222
Fixed in:5.0.1-1CVE-2022-21222
Fixed in:5.0.1-1CVE-2022-21222
node-css-whatUbuntu
Fixed in:2.1.0-1ubuntu0.16.04.1~esm1USN-6065-1
Fixed in:2.1.0-1+deb10u1build0.18.04.1USN-6065-1
Fixed in:3.2.1-1ubuntu0.1~esm1USN-6065-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

1.42%probability of exploitation in 30 days
70thpercentile

Moderate risk: more likely to be exploited than 70% of all known CVEs.

References

Third-Party Advisory1
Other references1
Embed a live status badge for CVE-2022-21222
CVE-2022-21222 severity badge

Markdown

[![CVE-2022-21222](https://tridentstack.com/cve/badge/CVE-2022-21222.svg)](https://tridentstack.com/cve/CVE-2022-21222)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-21222"><img src="https://tridentstack.com/cve/badge/CVE-2022-21222.svg" alt="CVE-2022-21222"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-20.