CVE-2024-21538

HIGHNVD 7.57.5
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.9% (57th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.

Triggered by: Headline CVSS from NVD CVSS v3
Sources: EPSS, NVD CVSS v3
Elevated
7.5EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
CISA-KEV: Not listedEPSS PROB: 0.9%CVSS: 7.5Exploit: No code on recordExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
7.5
EG Score
7.5HIGHmedium confidence
EG Risk
65
EG Risk 65/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed (value × EchelonGraph’s weight)
Severity75% × 45%
The EG Score, 7.5 of 10.
Exploitation40% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
0.9%
EPSS %ILE
57th
KEV
Not listed

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; 60 days if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

November 8, 2024

Last Modified

August 7, 2026

Advisory Details (5)

Auto-updated Jul 28, 2026
Patch available. Sources: github_commit, github_pr.
Web page

Regular Expression Denial of Service (ReDoS) in cross-spawn | CVE-2024-21538 | Snyk

https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230
Web page

Regular Expression Denial of Service (ReDoS) in org.webjars.npm:cross-spawn | CVE-2024-21538 | Snyk

https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8366349
GitHub pull request

fix: disable regexp backtracking

Fix merged in moxystudio/node-cross-spawn PR #160 on 2024-11-06 — awaiting tagged release

https://github.com/moxystudio/node-cross-spawn/pull/160
GitHub commit

commit 640d391fde65 (moxystudio/node-cross-spawn)

Fix landed in moxystudio/node-cross-spawn commit 640d391fde65 — awaiting tagged release

https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f
GitHub commit

commit 5ff3a07d9add (moxystudio/node-cross-spawn)

Fix landed in moxystudio/node-cross-spawn commit 5ff3a07d9add — awaiting tagged release

https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff

Patch Availability(29)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
redhatodf4/odf-multicluster-console-rhel9:v4.14.18-22025-06-04redhat
redhatodf4/odf-multicluster-console-rhel9:v4.15.14-22025-06-04redhat
redhatrhmtc/openshift-migration-ui-rhel8:v1.8.7-22025-06-04redhat
redhatrhoai/odh-dashboard-rhel8:v2.16.2-17419631522025-03-31redhat
redhatodf4/odf-multicluster-console-rhel9:v4.18.0-642025-03-11redhat
redhatrhtas/rekor-search-ui-rhel9:1.1.1-17404133022025-02-25redhat
redhatrhoai/odh-dashboard-rhel8:v2.17.0-17391034832025-02-13redhat
redhatrhtas/rekor-search-ui-rhel9:1.1.1-17368858672025-02-11redhat
redhatrhtas/rekor-search-ui-rhel9:1.1.1-17388435892025-02-11redhat
redhatdiscovery/discovery-ui-rhel9:1.12.0-12025-02-10redhat
redhatopenshift4/nmstate-console-plugin-rhel9:v4.17.0-202501301204.p0.gcffdc60.assembly.stream.el92025-02-05redhat
redhatdevspaces/dashboard-rhel9:3.18-102025-02-03redhat
redhatodf4/mcg-core-rhel9:v4.15.9-12025-01-09redhat
redhatodf4/odf-multicluster-console-rhel9:v4.16.5-22025-01-08redhat
redhatodf4/odf-multicluster-console-rhel9:v4.17.2-12025-01-08redhat
redhatopenshift4/ose-monitoring-plugin-rhel8:v4.14.0-202412040905.p0.g4fa7043.assembly.stream.el82024-12-19redhat
redhatrhdh/rhdh-hub-rhel9:1.3-1312024-12-17redhat
redhatrhtpa/rhtpa-guac-rhel9:1.2.1-17335751062024-12-17redhat
redhatrhtpa/rhtpa-trustification-service-rhel9:1.2.1-17338269682024-12-17redhat
redhatodf4/mcg-core-rhel9:v4.16.4-22024-12-17redhat
redhatrhdh/rhdh-hub-rhel9:1.4-17341064542024-12-17redhat
redhatodf4/mcg-core-rhel9:v4.17.1-22024-12-12redhat
redhatopenshift4/ose-monitoring-plugin-rhel8:v4.15.0-202412041605.p0.g1217bc1.assembly.stream.el82024-12-12redhat
redhatopenshift4/ose-monitoring-plugin-rhel9:v4.16.0-202412040032.p0.g6cfc2c8.assembly.stream.el92024-12-12redhat
redhatopenshift-service-mesh/kiali-rhel8:1.73.17-12024-12-10redhat
redhatopenshift-service-mesh/ratelimit-rhel8:2.4.13-22024-12-10redhat
redhatopenshift4/ose-networking-console-plugin-rhel9:v4.17.0-202411261204.p0.gfa9e6b0.assembly.stream.el92024-12-03redhat
redhatadvanced-cluster-security/rhacs-main-rhel8:4.4.7-22024-12-02redhat
redhatadvanced-cluster-security/rhacs-main-rhel8:4.5.5-32024-11-22redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
npm(1)
PackageVulnerable rangeFix by version rangeDependents
cross-spawn—
  • 7.0.0 up to 7.0.5: fixed in 7.0.5
  • every version up to 6.0.6: fixed in 6.0.6
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(14)

Data Freshness Timeline

(refreshed 10× in last 7d / 27× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 92 of 211 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 8 repeat rows among the latest 100 are merged into the row they repeat. The 119 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-10-15 16:29 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  2. 2026-10-14 16:30 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  3. 2026-10-13 16:30 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  4. 2026-10-12 18:03 UTCEG score recompute
  5. 2026-10-12 16:31 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  6. 2026-10-11 21:28 UTCEG score recompute
  7. 2026-10-11 16:21 UTCEG score recompute
  8. 2026-10-11 13:45 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  9. 2026-10-10 19:58 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  10. 2026-10-09 20:05 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  11. 2026-10-08 17:07 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  12. 2026-10-07 23:46 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  13. 2026-10-06 15:15 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  14. 2026-10-05 17:41 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  15. 2026-10-04 23:20 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  16. 2026-10-03 14:23 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  17. 2026-10-01 19:48 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  18. 2026-09-30 16:56 UTCEG score recompute
  19. 2026-09-30 15:01 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  20. 2026-09-29 23:41 UTCOSV refresh
  21. 2026-09-29 15:17 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  22. 2026-09-28 13:49 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  23. 2026-09-24 14:01 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  24. 2026-09-23 13:46 UTCEPSS rescoreEPSS 0.9% · 57th percentile
  25. 2026-09-20 20:14 UTCEPSS rescoreEPSS 0.9% · 57th percentile
Show 67 more
  1. 2026-09-16 14:06 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  2. 2026-09-16 05:11 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  3. 2026-09-15 03:08 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  4. 2026-09-13 16:45 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  5. 2026-09-12 14:59 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  6. 2026-09-11 14:51 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  7. 2026-09-11 09:34 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  8. 2026-09-10 21:23 UTCOSV refresh
  9. 2026-09-08 21:58 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  10. 2026-09-07 15:59 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  11. 2026-09-06 13:46 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  12. 2026-09-05 15:26 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  13. 2026-09-04 13:58 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  14. 2026-09-04 05:05 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  15. 2026-09-02 14:10 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  16. 2026-09-01 13:52 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  17. 2026-08-30 19:15 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  18. 2026-08-30 01:20 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  19. 2026-08-28 21:39 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  20. 2026-08-27 14:23 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  21. 2026-08-26 14:44 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  22. 2026-08-25 13:47 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  23. 2026-08-23 13:52 UTCOSV refresh
  24. 2026-08-23 00:17 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  25. 2026-08-21 23:47 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  26. 2026-08-20 22:53 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  27. 2026-08-19 17:02 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  28. 2026-08-18 13:46 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  29. 2026-08-17 13:45 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  30. 2026-08-16 14:54 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  31. 2026-08-16 02:12 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  32. 2026-08-15 01:28 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  33. 2026-08-13 21:58 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  34. 2026-08-12 13:49 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  35. 2026-08-11 13:40 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  36. 2026-08-09 13:45 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  37. 2026-08-08 16:35 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  38. 2026-08-07 15:43 UTCEG score recompute
  39. 2026-08-07 15:43 UTCVendor advisory
  40. 2026-08-07 15:42 UTCMITRE cvelistV5CVSS v4 → 8.7
  41. 2026-08-06 13:45 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  42. 2026-08-05 19:15 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  43. 2026-08-04 15:08 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  44. 2026-08-04 10:36 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  45. 2026-08-03 10:34 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  46. 2026-08-02 02:25 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  47. 2026-08-01 04:14 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  48. 2026-07-30 16:26 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  49. 2026-07-30 01:29 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  50. 2026-07-28 16:40 UTCEG score recompute
  51. 2026-07-28 16:40 UTCVendor advisory
  52. 2026-07-28 16:19 UTCNVD updateCVSS v4 → 7.7
  53. 2026-07-28 15:34 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  54. 2026-07-28 08:24 UTCOSV refresh
  55. 2026-07-27 14:11 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  56. 2026-07-26 14:53 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  57. 2026-07-25 14:16 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  58. 2026-07-24 14:16 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  59. 2026-07-23 14:17 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  60. 2026-07-23 02:33 UTCEG score recompute
  61. 2026-07-22 23:20 UTCEG score recompute
  62. 2026-07-22 14:07 UTCEPSS rescoreEPSS 0.9% · 55th percentile
  63. 2026-07-21 15:23 UTCEPSS rescoreEPSS 0.9% · 54th percentile
  64. 2026-07-20 17:06 UTCEPSS rescoreEPSS 0.9% · 54th percentile
  65. 2026-07-19 14:30 UTCEPSS rescoreEPSS 0.9% · 54th percentile
  66. 2026-07-19 02:28 UTCEPSS rescoreEPSS 0.9% · 54th percentile
  67. 2026-07-18 10:03 UTCEPSS rescoreEPSS 0.9% · 54th percentile

Frequently asked(5)

What is CVE-2024-21538?
CVE-2024-21538 is a high-severity vulnerability; its CVE record was published on November 8, 2024. 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.
When was the CVE record for CVE-2024-21538 published?
The CVE record for CVE-2024-21538 was published on November 8, 2024. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of August 7, 2026; the record at its source may have been updated since.
Is CVE-2024-21538 actively exploited?
CVE-2024-21538 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.9% probability of exploitation in the next 30 days (57th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2024-21538?
CVE-2024-21538 has a CVSS v3 base score of 7.5 (NVD).
How do I remediate CVE-2024-21538?
A fix for CVE-2024-21538 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2024-21538 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-21538

Explore →

Is Your Infrastructure Affected by CVE-2024-21538?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.