shescape@2.1.8 vulnerabilities

simple shell escape library

  • latest version

    2.1.10

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Symlink Attack

    shescape is a simple shell escape library

    Affected versions of this package are vulnerable to Symlink Attack in resolving shells in unix.js. An attacker can expose sensitive information by configuring the shell path as a symbolic link to another symlink, which may bypass proper escaping in the second shell and lead to unintended command execution.

    How to fix Symlink Attack?

    Upgrade shescape to version 2.1.9 or higher.

    <2.1.9