7.5

CVE-2022-21222: Regular Expression Denial of Service (ReDoS)

Modified
AliasesUBUNTU-CVE-2022-21222DEBIAN-CVE-2022-21222GHSA-p28h-cc7q-c4fg
Published 30-09-2022Last modified 20-05-2025

Vulnerability summary

CVE-2022-21222 is a high (CVSS 7.5) vulnerability in css-what_project css-what. EPSS estimates a 2.03% chance of exploitation in the next 30 days, higher than 81.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.03%
0%100%
Low · +0.13 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 30-09-2022
    PublishedVulnerability first disclosed.
  2. 20-05-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

2.03%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

Increase +0.13 pp

From 1.90% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (security.snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Css-what_project1 product
Debian1 product
  • node-css-what< 5.0.1-1
Npm1 product
  • css-what< 2.1.3
Ubuntu1 product
  • node-css-whatAll versions (No fix recorded) | < 2.1.0-1ubuntu0.16.04.1~esm1 | < 2.1.0-1+deb10u1build0.18.04.1 | < 3.2.1-1ubuntu0.1~esm1

4 vendors · 4 products

References

11 links
Show all 11 references