Read the docs
TI-2024-14294 Aliases CVE-2024-21538GHSA-3xgq-45jj-v275

Regular expression denial of service in cross-spawn

Priority HIGH 77CWE-1333Published · Updated

Key facts

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

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

Summary

Versions of the package cross-spawn before 6.0.6, from 7.0.0 and before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00868 58th percentileScored 2026-11-07
Fix Partial cross-spawn: 6.0.6, 7.0.5org.webjars.npm:cross-spawn: 6.0.6, 7.0.6+1 more productRed Hat: 30 advisoriesRed Hat: 24 fixed, 20 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
—cross-spawnbefore 6.0.6; 7.0.0 to before 7.0.56.0.6, 7.0.5Patch availableCNA
—org.webjars.npm:cross-spawnbefore 6.0.6; 7.0.2 to before 7.0.66.0.6, 7.0.6Patch availableCNA
—cross-spawn (npm)7.0.0 to before 7.0.57.0.5Patch availableGHSA-3xgq-45jj-v275
—cross-spawn (npm)before 6.0.66.0.6Patch availableGHSA-3xgq-45jj-v275
  • cross-spawn Vendor— Affected before 6.0.6; 7.0.0 to before 7.0.5 Fixed in 6.0.6, 7.0.5 Patch available CNA
  • org.webjars.npm:cross-spawn Vendor— Affected before 6.0.6; 7.0.2 to before 7.0.6 Fixed in 6.0.6, 7.0.6 Patch available CNA
  • cross-spawn (npm) Vendor— Affected 7.0.0 to before 7.0.5 Fixed in 7.0.5 Patch available GHSA-3xgq-45jj-v275
  • cross-spawn (npm) Vendor— Affected before 6.0.6 Fixed in 6.0.6 Patch available GHSA-3xgq-45jj-v275

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:cross-spawn:cross-spawn:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:cross-spawn:cross-spawn:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

  • Fix · CNA cross-spawn Fixed in 6.0.6, 7.0.5
  • Fix · CNA org.webjars.npm:cross-spawn Fixed in 6.0.6, 7.0.6
  • Fix · GHSA-3xgq-45jj-v275 cross-spawn (npm) Fixed in 7.0.5 Advisory →
  • Fix · GHSA-3xgq-45jj-v275 cross-spawn (npm) Fixed in 6.0.6 Advisory →

Red Hat 30 advisories

  • RHSA-2025:8551 Released 2025-06-04 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.14.18 Bug Fix Update
    • RHODF 4.14 for RHEL 9 odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel9 +1
  • RHSA-2025:8544 Released 2025-06-04 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.15.14 Bug Fix Update
    • RHODF 4.15 for RHEL 9 odf4/mcg-rhel9-operator, odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9 +2
  • RHSA-2025:8510 Released 2025-06-04 · Red Hat rating Important
    Migration Toolkit for Containers (MTC) 1.8.7 security and bug fix update
    • 8Base-RHMTC-1.8 rhmtc/openshift-migration-controller-rhel8, rhmtc/openshift-migration-ui-rhel8
Show 27 more Red Hat advisories
  • RHSA-2025:3397 Released 2025-03-31 · Red Hat rating Important
    RHOAI 2.16.0 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.16 registry.redhat.io/rhoai/odh-codeflare-operator-rhel8, registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 +13
  • RHSA-2025:3368 Released 2025-03-27 · Red Hat rating Important
    RHOAI 2.16.0 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.16 registry.redhat.io/rhoai/odh-codeflare-operator-rhel8, registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 +13
  • RHSA-2025:2652 Released 2025-03-11 · Red Hat rating Important
    RHODF-4.18-RHEL-9 enhancement, bug fix and security update
    • RHODF 4.18 for RHEL 9 odf4/cephcsi-rhel9, odf4/ocs-client-console-rhel9, odf4/ocs-metrics-exporter-rhel9 +3
  • RHSA-2025:1842 Released 2025-02-25 · Red Hat rating Important
    RHTAS 1.1.1 - Red Hat Trusted Artifact Signer Release
    • Red Hat Trusted Artifact Signer 1.1 registry.redhat.io/rhtas/rekor-search-ui-rhel9
  • RHSA-2024:6122 Released 2025-02-25 · Red Hat rating Important
    OpenShift Container Platform 4.18.1 bug fix and security update
    • Red Hat OpenShift Container Platform 4.18 openshift4/aws-kms-encryption-provider-rhel9, openshift4/azure-kms-encryption-provider-rhel9, openshift4/azure-service-rhel9-operator +47
  • RHSA-2024:6121 Released 2025-02-25 · Red Hat rating Important
    OpenShift Container Platform 4.18.1 security and extras update
    • Red Hat OpenShift Container Platform 4.18 openshift4/ingress-node-firewall-rhel9, openshift4/ingress-node-firewall-rhel9-operator, openshift4/kube-compare-artifacts-rhel9 +47
  • RHSA-2025:1448 Released 2025-02-13 · Red Hat rating Important
    RHOAI 2.17.0 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.17 registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-operator-controller-rhel8 +5
  • RHSA-2025:1321 Released 2025-02-11 · Red Hat rating Low
    RHTAS 1.1.1 - Red Hat Trusted Artifact Signer Release
    • Red Hat Trusted Artifact Signer 1.1 registry.redhat.io/rhtas/rekor-search-ui-rhel9
  • RHSA-2025:1286 Released 2025-02-11 · Red Hat rating Low
    RHTAS 1.1.1 - Red Hat Trusted Artifact Signer Release
    • Red Hat Trusted Artifact Signer 1.1 registry.redhat.io/rhtas/rekor-search-ui-rhel9
  • RHSA-2025:1249 Released 2025-02-10 · Red Hat rating Important
    updated discovery container images
    • Discovery 1 for RHEL 9 discovery/discovery-server-rhel9, discovery/discovery-ui-rhel9
  • RHSA-2025:0875 Released 2025-02-05 · Red Hat rating Important
    OpenShift Container Platform 4.17.15 security and extras update
    • Red Hat OpenShift Container Platform 4.17 openshift4/nmstate-console-plugin-rhel9, openshift4/ose-ansible-rhel9-operator, openshift4/ose-helm-rhel9-operator +2
  • RHSA-2025:0892 Released 2025-02-03 · Red Hat rating Important
    Red Hat OpenShift Dev Spaces 3.18.0 release
    • Red Hat OpenShift Dev Spaces 3 devspaces/code-rhel9, devspaces/dashboard-rhel9, devspaces/devspaces-rhel9-operator +1
  • RHSA-2025:0164 Released 2025-01-09 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.15.9 Bug Fix Update
    • RHODF 4.15 for RHEL 9 odf4/mcg-core-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9 +1
  • RHSA-2025:0082 Released 2025-01-08 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.16.5 Bug Fix Update
    • RHODF 4.16 for RHEL 9 odf4/cephcsi-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9 +1
  • RHSA-2025:0079 Released 2025-01-08 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.17.2 Bug Fix Update
    • RHODF 4.17 for RHEL 9 odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel9
  • RHSA-2024:11031 Released 2024-12-19 · Red Hat rating Low
    OpenShift Container Platform 4.14.43 security update
    • Red Hat OpenShift Container Platform 4.14 openshift4/ose-monitoring-plugin-rhel8
  • RHSA-2024:11292 Released 2024-12-17 · Red Hat rating Low
    Red Hat OpenShift Data Foundation 4.16.4 security and bug fix update
    • RHODF 4.16 for RHEL 9 odf4/mcg-core-rhel9
  • RHSA-2024:11256 Released 2024-12-17 · Red Hat rating Important
    Red Hat Trusted Profile Analyzer 1.2.1
    • Red Hat Trusted Profile Analyzer 1.2 registry.redhat.io/rhtpa/rhtpa-guac-rhel9
  • RHSA-2024:11255 Released 2024-12-17 · Red Hat rating Important
    Red Hat Trusted Profile Analyzer 1.2.1
    • Red Hat Trusted Profile Analyzer 1.2 registry.redhat.io/rhtpa/rhtpa-trustification-service-rhel9
  • RHSA-2024:10986 Released 2024-12-12 · Red Hat rating Low
    Red Hat OpenShift Data Foundation 4.17.1 Bug Fix Update
    • RHODF 4.17 for RHEL 9 odf4/mcg-core-rhel9
  • RHSA-2024:10839 Released 2024-12-12 · Red Hat rating Low
    OpenShift Container Platform 4.15.41 bug fix and security update
    • Red Hat OpenShift Container Platform 4.15 openshift4/ose-monitoring-plugin-rhel8
  • RHSA-2024:10823 Released 2024-12-12 · Red Hat rating Moderate
    OpenShift Container Platform 4.16.26 bug fix and security update
    • Red Hat OpenShift Container Platform 4.16 openshift4/ose-ibmcloud-machine-controllers-rhel9, openshift4/ose-monitoring-plugin-rhel9
  • RHSA-2024:10907 Released 2024-12-10 · Red Hat rating Low
    Red Hat OpenShift Service Mesh Containers for 2.4.13
    • RHOSSM 2.4 for RHEL 8 openshift-service-mesh/grafana-rhel8, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/kiali-rhel8 +3
  • RHSA-2024:10908 Released 2024-12-10 · Red Hat rating Moderate
    Red Hat OpenShift Service Mesh Containers for 2.5.7
    • RHOSSM 2.5 for RHEL 8 openshift-service-mesh/kiali-ossmc-rhel8, openshift-service-mesh/kiali-rhel8
  • RHSA-2024:10518 Released 2024-12-03 · Red Hat rating Important
    OpenShift Container Platform 4.17.7 bug fix and security update
    • Red Hat OpenShift Container Platform 4.17 openshift4/ose-ibmcloud-machine-controllers-rhel9, openshift4/ose-monitoring-plugin-rhel9, openshift4/ose-networking-console-plugin-rhel9 +1
  • RHSA-2024:10665 Released 2024-12-02 · Red Hat rating Low
    ACS 4.4 enhancement and security update
    • RHACS 4.4 for RHEL 8 advanced-cluster-security/rhacs-main-rhel8
  • RHSA-2024:10186 Released 2024-11-22 · Red Hat rating Important
    ACS 4.5 enhancement update
    • RHACS 4.5 for RHEL 8 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-roxctl-rhel8 +3

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Cryostat 3AffectedNo fix yet
Migration Toolkit for Applications 7AffectedNo fix yet: Fix deferred
Network Observability OperatorAffectedNo fix yet: Fix deferred
Node HealthCheck OperatorAffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet
OpenShift PipelinesAffectedNo fix yet: Fix deferred
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Build of KeycloakAffectedNo fix yet: Fix deferred
Red Hat Connectivity Link 1AffectedNo fix yet
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Data Science (RHODS)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet
Red Hat OpenShift GitOpsAffectedNo fix yet
Red Hat OpenShift Virtualization 4AffectedNo fix yet
Red Hat OpenShift distributed tracing 3AffectedNo fix yet
Red Hat Single Sign-On 7AffectedNo fix yet: Fix deferred
Red Hat build of OptaPlanner 8AffectedNo fix yet: Fix deferred
8Base-RHMTC-1.8Fixed RHSA-2025:8510
Discovery 1 for RHEL 9Fixed RHSA-2025:1249
Quay v3Fixed—
RHACS 4.4 for RHEL 8Fixed RHSA-2024:10665
RHACS 4.5 for RHEL 8Fixed RHSA-2024:10186
RHODF 4.14 for RHEL 9Fixed RHSA-2025:8551
RHODF 4.15 for RHEL 9Fixed RHSA-2025:0164, RHSA-2025:8544
RHODF 4.16 for RHEL 9Fixed RHSA-2024:11292, RHSA-2025:0082
RHODF 4.17 for RHEL 9Fixed RHSA-2024:10986, RHSA-2025:0079
RHODF 4.18 for RHEL 9Fixed RHSA-2025:2652
RHOSSM 2.4 for RHEL 8Fixed RHSA-2024:10907
RHOSSM 2.5 for RHEL 8Fixed RHSA-2024:10908
Red Hat Developer Hub (RHDH) 1.4Fixed—
Red Hat Developer Hub 1.3 for RHEL 9Fixed—
Red Hat OpenShift AI 2.16Fixed RHSA-2025:3368
Red Hat OpenShift AI 2.17Fixed RHSA-2025:1448
Red Hat OpenShift Container Platform 4.14Fixed RHSA-2024:11031
Red Hat OpenShift Container Platform 4.15Fixed RHSA-2024:10839
Red Hat OpenShift Container Platform 4.16Fixed RHSA-2024:10823
Red Hat OpenShift Container Platform 4.17Fixed RHSA-2024:10518, RHSA-2025:0875
Red Hat OpenShift Container Platform 4.18Fixed RHSA-2024:6121, RHSA-2024:6122
Red Hat OpenShift Dev Spaces 3Fixed RHSA-2025:0892
Red Hat Trusted Artifact Signer 1.1Fixed RHSA-2025:1286, RHSA-2025:1321, RHSA-2025:1842
Red Hat Trusted Profile Analyzer 1.2Fixed RHSA-2024:11255, RHSA-2024:11256
Not affected: 35 products
  • 8Base-RHMTC-1.8
  • Migration Toolkit for Applications 7
  • Migration Toolkit for Virtualization
  • Multicluster Engine for Kubernetes
  • RHACS 4.4 for RHEL 8
  • RHACS 4.5 for RHEL 8
  • RHODF 4.14 for RHEL 9
  • RHODF 4.15 for RHEL 9
  • RHODF 4.16 for RHEL 9
  • RHODF 4.17 for RHEL 9
  • RHODF 4.18 for RHEL 9
  • RHOSSM 2.5 for RHEL 8
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Advanced Cluster Security 4
  • Red Hat Ansible Automation Platform 2
  • Red Hat Data Grid 8
  • Red Hat Developer Hub (RHDH) 1.4
  • Red Hat Developer Hub 1.3 for RHEL 9
  • Red Hat Integration Camel K 1
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift AI 2.16
  • Red Hat OpenShift AI 2.17
  • Red Hat OpenShift Container Platform 4.14
  • Red Hat OpenShift Container Platform 4.15
  • Red Hat OpenShift Container Platform 4.16
  • Red Hat OpenShift Container Platform 4.17
  • Red Hat OpenShift Dev Spaces 3
  • Red Hat OpenShift distributed tracing 3
  • Red Hat Process Automation 7
  • Red Hat Satellite 6
  • Red Hat Trusted Artifact Signer
  • Red Hat build of Apache Camel - HawtIO 4
  • Red Hat build of Apicurio Registry 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21538
  2. 2026-10-03 Alias added: GHSA-3xgq-45jj-v275

References

Sources