Vulnerability
CVE-2024-21538
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.
173 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALAS2023-2025-795
Amazon Linux 2023 - ALAS2023-2025-795: Medium priority package update for nodejs20
-
ALAS2023-2025-796
Amazon Linux 2023 - ALAS2023-2025-796: Medium priority package update for nodejs
-
ALPINE-CVE-2024-21538
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…
- ALPINE-EDGE-CVE-2024-21538
-
AZL-52548
CVE-2024-21538 affecting package js-jquery 3.5.0-4
-
AZL-52551
CVE-2024-21538 affecting package nodejs18 for versions less than 18.20.3-2
-
AZL-52561
CVE-2024-21538 affecting package reaper for versions less than 3.1.1-15
-
AZL-52587
CVE-2024-21538 affecting package js-jquery 3.5.0-4
-
AZL-52604
CVE-2024-21538 affecting package nodejs for versions less than 20.14.0-3
- CGA-2282-wv9f-83hp
- CGA-22w2-v4r6-rf5w
- CGA-27r8-jx9w-hfj8
- CGA-29j2-qqfx-3x63
- CGA-2j2x-6qxp-mjwh
- CGA-2j3w-gj86-ggqj
- CGA-2mw7-vjq2-vp6c
- CGA-2vcr-j46j-wr3x
- CGA-2vf3-9h7c-qx6v
- CGA-2w3v-r884-gh9p
- CGA-378x-9rxc-cp3v
- CGA-38wc-f43v-59jj
- CGA-3gr2-cjxv-xwfc
- CGA-3mpq-48rp-pjrh
- CGA-3qx7-fhgm-235r
- CGA-3r4q-43jj-vrv8
- CGA-42r6-8g5f-wgmw
- CGA-4596-jxwg-9w92
- CGA-45j5-wwcg-jfjr
- CGA-466j-r264-5v7q
- CGA-4m9p-fv2c-vp6x
- CGA-4rh4-4985-5fvx
- CGA-4vr3-47xr-68vg
- CGA-4vx5-3mqg-wg94
- CGA-4wc6-g2cf-3577
- CGA-4xg7-rm3m-964f
- CGA-53wf-gv9m-467h
- CGA-54hh-j7hp-w6g8
- CGA-5cph-q3xw-6qgr
- CGA-5g3p-xgw7-jqw9
- CGA-5gv5-j723-mh4g
- CGA-5pmm-m24c-gxmr
- CGA-5q53-6rcc-68m9
- CGA-5wgc-6gx9-xhf9
- CGA-5wgj-fwr3-h7mv
- CGA-6746-pf37-c5pm
- CGA-6fq6-mv5c-gg4q
- CGA-6jm9-j9q8-vrrg
- CGA-6m7v-q3xx-mvx8
- CGA-6vxc-3vxm-86cf
- CGA-6xcg-99gh-2p3w
- CGA-78h9-mq87-g69m
- CGA-7f68-x3wq-f4ch
- CGA-7gch-3ff5-mj26
- CGA-7j3q-77g8-9455
- CGA-7r5q-jq36-jg24
- CGA-7xmh-945j-297m
- CGA-86gp-792p-fv88
- CGA-87hq-r34x-4pq9
- CGA-88jw-cqhp-jwqw
- CGA-88pm-4q3q-66h7
- CGA-8g7v-xx37-mcg8
- CGA-8h32-46gh-rjjg
- CGA-8h8q-pm44-hg88
- CGA-8hc7-8r9x-w7m6
- CGA-8j2w-q6x6-hjrh
- CGA-8j73-f6h9-gpcm
- CGA-8qc3-2439-36p4
- CGA-93ff-pg98-2p9g
- CGA-97pp-96pw-gv2p
- CGA-9829-6rv4-33qq
- CGA-98px-3xqq-56r4
- CGA-9h83-rgf2-8xr6
- CGA-9r49-9rjw-3pgh
- CGA-9vv5-pj22-qq94
- CGA-9w3g-mcfv-q2rp
- CGA-9w86-p44f-w2r4
- CGA-c4jr-32x6-w6pp
- CGA-c5mf-6266-j53f
- CGA-c5qh-7wqr-6g3g
- CGA-c5rf-c6wp-8ggr
- CGA-c7ch-266r-frwv
- CGA-c7h7-8959-rf7p
- CGA-c97g-4p89-3r7p
- CGA-cf9f-wjwh-j5cr
- CGA-cfvm-xw8q-jxrm
- CGA-chv5-hmvj-2g9j
- CGA-f3h4-jrqw-mmxx
- CGA-f489-vr24-wc5f
- CGA-f59g-64xc-mfmr
- CGA-f5cc-x7fq-hrjj
- CGA-f5mw-frgj-frx3
- CGA-ffwh-w3r3-qxv2
- CGA-fvpj-x79r-f7wq
- CGA-g426-pwfx-m3wq
- CGA-g6vw-w4cj-w7qg
- CGA-g956-vprf-7pp2
- CGA-ggwq-3wxc-v6hp
- CGA-grx7-wjc4-mv2f
- CGA-gvrx-vj22-hgr3
- CGA-gx3r-7gpv-p6g5
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-21538.
References
- https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff
- https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f
- https://github.com/moxystudio/node-cross-spawn/pull/160
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8366349
- https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230