High, CVSS 7.5npmAmendedPublished
OS Command Injection in ssh2
CVE-2020-26301 · GHSA-652h-xwhf-q4h6
- Affected
- npm ssh2 < 1.4.0
- Fixed in
- 1.4.0· Vendor fix available
- Issue
- ssh2 is client and server modules written in pure JavaScript for node.js. In ssh2 before version 1.4.0 there is a command injection vulnerability. The issue only exists on Windows. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. This is fixed in version 1.4.0.
Recommended action: Upgrade to 1.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.