Resource Exhaustion The advisory has been revoked - it doesn't affect any version of package css-what  (opens in a new tab)


Threat Intelligence

EPSS
1.9% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-CSSWHAT-9898033
  • published29 Apr 2025
  • disclosed30 Sept 2022

Introduced: 30 Sep 2022

CVE-2022-21222  (opens in a new tab)
CWE-400  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream css-what package and not the css-what package as distributed by RHEL.

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.