Skip to content

cross-spawn (npm)

A cross platform solution to node's spawn and spawnSync

Advisories
4
Latest version
7.0.6
Released Nov 18, 2024
License
MIT
OpenSSF Scorecard
3.2 / 10

How to fix

Upgrading to 7.0.5 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install cross-spawn@7.0.6
yarn
yarn add cross-spawn@7.0.6
pnpm
pnpm add cross-spawn@7.0.6

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-3xgq-45jj-v275
Regular Expression Denial of Service (ReDoS) in cross-spawn
High
EPSS 0.87%
>= 7.0.0, < 7.0.5
7.0.5
GHSA-3xgq-45jj-v275
Regular Expression Denial of Service (ReDoS) in cross-spawn
High
EPSS 0.87%
< 6.0.6
6.0.6
GHSA-3xgq-45jj-v275
Regular Expression Denial of Service (ReDoS) in cross-spawn
High
EPSS 0.87%
>= 7.0.0, < 7.0.5
7.0.5
GHSA-3xgq-45jj-v275
Regular Expression Denial of Service (ReDoS) in cross-spawn
High
EPSS 0.87%
< 6.0.6
6.0.6

Source: git+ssh://git@github.com/moxystudio/node-cross-spawn.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor