Read the docs
TI-2022-05615 Aliases CVE-2022-21222GHSA-p28h-cc7q-c4fg

Regular expression denial of service (ReDoS) in css-what

Priority HIGH 72CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 11 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01904 79th percentileScored 2026-11-07
Fix Partial css-what: 2.1.3css-what (npm): 2.1.3Red Hat: 11 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—css-whatbefore 2.1.32.1.3Patch availableCNA
—css-what (npm)before 2.1.32.1.3Patch availableGHSA-p28h-cc7q-c4fg
  • css-what Vendor— Affected before 2.1.3 Fixed in 2.1.3 Patch available CNA
  • css-what (npm) Vendor— Affected before 2.1.3 Fixed in 2.1.3 Patch available GHSA-p28h-cc7q-c4fg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:*before 2.1.3VulnerableCss-what Project
  • cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:* Versions before 2.1.3 Vulnerable ·Css-what Project

Remediation

  • Fix · CNA css-what Fixed in 2.1.3
  • Fix · GHSA-p28h-cc7q-c4fg css-what (npm) Fixed in 2.1.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 2.0AffectedNo fix yet
OpenShift Service Mesh 2.1AffectedNo fix planned: Will not fix
Red Hat Decision Manager 7AffectedNo fix planned: Out of support scope
Red Hat Fuse 7AffectedNo fix planned: Will not fix
Red Hat Integration Service RegistryAffectedNo fix planned: Will not fix
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat OpenShift Container Platform 3.11AffectedNo fix planned: Out of support scope
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat Process Automation 7AffectedNo fix planned: Out of support scope
Red Hat build of Apicurio Registry 2AffectedNo fix yet
Not affected: 25 products
  • Logging Subsystem for Red Hat OpenShift
  • Migration Toolkit for Containers
  • Migration Toolkit for Runtimes
  • Migration Toolkit for Virtualization
  • OpenShift Developer Tools and Services
  • OpenShift Service Mesh 2
  • OpenShift Service Mesh 2.0
  • OpenShift Service Mesh 2.1
  • Red Hat A-MQ Online
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Advanced Cluster Security 3
  • Red Hat Ansible Automation Platform 2
  • Red Hat Data Grid 8
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Integration Camel K 1
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift GitOps
  • Red Hat OpenShift Virtualization 4
  • Red Hat OpenShift distributed tracing 2
  • Red Hat Openshift Container Storage 4
  • Red Hat Openshift Data Foundation 4
  • Red Hat Satellite 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21222
  2. 2026-10-03 Alias added: GHSA-p28h-cc7q-c4fg

References

  • TI-2021-12971 The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute… CVSS 3.1HIGH 7.5

Sources