CVE-2024-21538

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.

Affected Software

VendorProductVersion RangeStatus
n/across-spawn0 < 6.0.6affected
n/across-spawn7.0.0 < 7.0.5affected
n/aorg.webjars.npm:cross-spawn0 < 7.0.6affected

Weaknesses

  • CWE-1333: Regular Expression Denial of Service (ReDoS)

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

References