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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | cross-spawn | < 6.0.6, 7.0.0 – < 7.0.5 | 6.0.6 |
| — | org.webjars.npm:cross-spawn | < 6.0.6, 7.0.2 – < 7.0.6 | 6.0.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | aws-cli | 1.33.26-150400.34.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP6 | aws-cli | 1.33.26-150400.34.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP6 | nodejs20 | 20.18.1-150600.3.6.1 | SUSE-SU-2024:4286-1 |
| SLES 15 SP6 | python-boto3 | 1.34.138-150400.27.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP6 | python-botocore | 1.34.144-150400.41.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP6 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | aws-cli | 1.33.26-150400.34.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | nodejs18 | 18.20.5-150400.9.30.1 | SUSE-SU-2024:4301-1 |
| SLES 15 SP5 | nodejs20 | 20.18.1-150500.11.15.1 | SUSE-SU-2024:4300-1 |
| SLES 15 SP5 | python-boto3 | 1.34.138-150400.27.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | python-botocore | 1.34.144-150400.41.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP5 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | aws-cli | 1.33.26-150400.34.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-boto3 | 1.34.138-150400.27.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-botocore | 1.34.144-150400.41.7.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 15 SP4 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| SLES 12 SP5 | nodejs18 | 18.20.5-8.30.1 | SUSE-SU-2024:4272-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | python-boto3 | 1.34.138-150400.27.7.1 | SUSE-SU-2025:3744-1 |
| SLES 3 | python-botocore | 1.34.144-150400.41.7.1 | SUSE-SU-2025:3744-1 |
| SLES 3 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 3 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLES 3 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLES 3 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES 3 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP5 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP5 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP5 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP5 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP5 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP4 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP4 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP4 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP4 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLES for SAP 15 SP4 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP5 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP5 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP5 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP5 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP5 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP4 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP4 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP4 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP4 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| SLE HPC 15 SP4 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | jupyter-jupyterlab-latex | 4.1.1-2.1 | openSUSE-SU-2024:14553-1 |
| openSUSE Tumbleweed | nodejs22 | 22.12.0-1.1 | openSUSE-SU-2025:14615-1 |
| openSUSE Tumbleweed | nodejs24 | 24.11.1-2.1 | openSUSE-SU-2025:15802-1 |
| openSUSE Tumbleweed | nodejs26 | 26.3.1-1.1 | openSUSE-SU-2026:11110-1 |
| openSUSE Tumbleweed | python-furo | 2024.8.6-2.1 | openSUSE-SU-2024:14558-1 |
| openSUSE Tumbleweed | python-jupyter-ydoc | 3.0.0-2.1 | openSUSE-SU-2024:14559-1 |
| openSUSE Tumbleweed | python-nbclassic | 1.1.0-2.1 | openSUSE-SU-2024:14550-1 |
| openSUSE Tumbleweed | python-nbdime | 4.0.2-18.1 | openSUSE-SU-2024:14560-1 |
| openSUSE Tumbleweed | python-pytest-html | 4.1.1-4.1 | openSUSE-SU-2024:14561-1 |
| openSUSE Tumbleweed | velociraptor | 0.7.0.4.git142.862ef23-1.1 | openSUSE-SU-2025:14663-1 |
| openSUSE Leap 15.6 | aws-cli | 1.33.26-150400.34.7.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | nodejs20 | 20.18.1-150600.3.6.1 | SUSE-SU-2024:4286-1 |
| openSUSE Leap 15.6 | python-boto3 | 1.34.138-150400.27.7.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-botocore | 1.34.144-150400.41.7.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-coverage | 7.6.10-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-flaky | 3.8.1-150400.14.6.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-pluggy | 1.5.0-150400.14.10.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-pytest | 8.3.5-150400.3.9.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-pytest-cov | 6.2.1-150400.12.6.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.6 | python-pytest-mock | 3.14.0-150400.13.6.1 | SUSE-SU-2025:3744-1 |
| openSUSE Leap 15.5 | nodejs18 | 18.20.5-150400.9.30.1 | SUSE-SU-2024:4301-1 |
| openSUSE Leap 15.5 | nodejs20 | 20.18.1-150500.11.15.1 | SUSE-SU-2024:4300-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | npm | 10.9.1-r0 | — |
| Alpine v3.23 | npm | 10.9.1-r0 | — |
| Alpine v3.22 | npm | 10.9.1-r0 | — |
| Alpine v3.21 | npm | 10.9.1-r0 | — |
| Alpine v3.20 | npm | 10.9.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs +4 | 1:18.20.5-1.amzn2023.0.1 | ALAS2023-2025-796 |
| Amazon Linux 2023 | nodejs-npm | 1:10.8.2-1.18.20.5.1.amzn2023.0.1 | ALAS2023-2025-796 |
| Amazon Linux 2023 | nodejs20 +4 | 1:20.18.1-1.amzn2023.0.1 | ALAS2023-2025-795 |
| Amazon Linux 2023 | nodejs20-npm | 1:10.8.2-1.20.18.1.1.amzn2023.0.1 | ALAS2023-2025-795 |
| Amazon Linux 2023 | v8-10.2-devel | 3:10.2.154.26-1.18.20.5.1.amzn2023.0.1 | ALAS2023-2025-796 |
| Amazon Linux 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.18.1.1.amzn2023.0.1 | ALAS2023-2025-795 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
| Azure Linux 3 | nodejs | 20.14.0-3 | — |
| Azure Linux 2 (CBL-Mariner) | js-jquery | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | nodejs18 | 18.20.3-2 | — |
| Azure Linux 2 (CBL-Mariner) | reaper | 3.1.1-15 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | argo-workflows | 3.6.0-r1 | — |
| Wolfi rolling | eslint | 9.15.0-r0 | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | lerna | 8.1.9-r1 | — |
| Wolfi rolling | node-gyp | 10.3.1-r0 | — |
| Wolfi rolling | pnpm-stage0 | No fix yet | — |
| Wolfi rolling | renovate | 39.22.0-r0 | — |
| Wolfi rolling | sqlpad +1 | 7.5.1-r1 | — |
| Wolfi rolling | tileserver-gl +1 | 5.0.0-r4 | — |
| Wolfi rolling | ts-patch | 3.3.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | cross-spawn | >= 7.0.0, < 7.0.5 | 7.0.5 | GHSA-3xgq-45jj-v275 |
| npm | cross-spawn | < 6.0.6 | 6.0.6 | GHSA-3xgq-45jj-v275 |
Advisories 26
- WID-SEC-2025-0823 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- openSUSE-SU-2026:11110-1 nodejs26-26.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Jun 24, 2026
- openSUSE-SU-2025:15802-1 corepack24-24.11.1-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2026-0177 Atlassian Bamboo, Bitbucket, Confluence und Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 18, 2026
- openSUSE-SU-2025:14615-1 corepack22-22.12.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4300-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14558-1 python-furo-doc-2024.8.6-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14663-1 velociraptor-0.7.0.4.git142.862ef23-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:3744-1 Security update for aws-cli, local-npm-registry, python-boto3, python-botocore, python-coverage, python-flaky, python-pluggy, python-pytest, python-pytest-cov, python-pytest-html, python-pytest-metadata, python-pytest-mock SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4272-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14553-1 jupyter-jupyterlab-latex-4.1.1-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14560-1 jupyter-nbdime-7.0.2-18.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14561-1 python310-pytest-html-4.1.1-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14559-1 python310-jupyter-ydoc-3.0.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2026-0034 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Jan 22, 2026
- WID-SEC-2024-3573 Red Hat Advanced Cluster Security: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Nov 18, 2025
- openSUSE-SU-2024:14550-1 jupyter-nbclassic-1.1.0-2.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2024:4286-1 Security update for nodejs20 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:4301-1 Security update for nodejs18 SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2025-0124 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Apr 16, 2025
- WID-SEC-2025-0721 IBM App Connect Enterprise: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Apr 7, 2025
- WID-SEC-2025-0043 IBM QRadar SIEM (Log Source Management App): Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2025
- WID-SEC-2025-0299 IBM Business Automation Workflow: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 9, 2025
- ALAS2023-2025-795 Moderate: nodejs20 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 9, 2025
- ALAS2023-2025-796 Moderate: nodejs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 9, 2025
- WID-SEC-2024-3643 IBM App Connect Enterprise: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Dec 9, 2024
References
- https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8366349
- https://github.com/moxystudio/node-cross-spawn/pull/160
- https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f
- https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff