8.7

CVE-2024-21538: npm

Deferred
AliasesSUSE-SU-2024:4272-1SUSE-SU-2024:4286-1SUSE-SU-2024:4300-1
Published 08-11-2024Last modified 07-08-2026

Vulnerability summary

CVE-2024-21538 is a high (CVSS 8.7) vulnerability in npm. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 58.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.87%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 14

Timeline

  1. 08-11-2024
    PublishedVulnerability first disclosed.
  2. 07-08-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

0.87%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.87% on 04-10-2026

04-10-202603-11-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

0 found

No public exploits indexed.

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.

Chainguard73 products
  • airflow-2< 2.11.0-r15
  • arangodb-3.11< 3.11.14.5-r3
  • arangodb-3.12< 3.12.9.4-r8
  • argo-workflows< 3.6.0-r1
  • eslint< 9.15.0-r0
Wolfi23 products
  • argo-workflows< 3.6.0-r1
  • eslint< 9.15.0-r0
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
  • katib-suggestion-hyperband< 0.19.0-r31
Opensuse10 products
  • jupyter-jupyterlab-latex&distro=openSUSE Tumbleweed< 4.1.1-2.1
  • nodejs18&distro=openSUSE Leap 15.5< 18.20.5-150400.9.30.1
  • nodejs20&distro=openSUSE Leap 15.5< 20.18.1-150500.11.15.1
  • nodejs20&distro=openSUSE Leap 15.6< 20.18.1-150600.3.6.1
  • nodejs22&distro=openSUSE Tumbleweed< 22.12.0-1.1
Suse4 products
  • nodejs18&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP5< 18.20.5-150400.9.30.1
  • nodejs18&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 18.20.5-8.30.1
  • nodejs20&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP5< 20.18.1-150500.11.15.1
  • nodejs20&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP6< 20.18.1-150600.3.6.1
Alpine1 product
  • npm< 10.9.1-r0
Npm1 product
  • cross-spawn≥ 7.0.0, < 7.0.5 | < 6.0.6

6 vendors · 112 products

References

19 links
Show all 19 references