cross-spawn@7.0.4 vulnerabilities

Cross platform child_process#spawn and child_process#spawnSync

  • latest version

    7.0.6

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the cross-spawn package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    Affected versions of this package 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.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade cross-spawn to version 6.0.6, 7.0.5 or higher.

    <6.0.6>=7.0.0 <7.0.5