First published: Mon Sep 20 2021(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
npm/ssh2 | <1.4.0 | 1.4.0 |
ssh2 project ssh2 node.js | <1.4.0 | |
Microsoft Windows | ||
All of | ||
ssh2 project ssh2 node.js | <1.4.0 | |
Microsoft Windows |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-26301 is classified as a command injection vulnerability that can lead to remote code execution.
To fix CVE-2020-26301, upgrade the ssh2 package to version 1.4.0 or later.
CVE-2020-26301 affects the ssh2 library only on Windows operating systems.
CVE-2020-26301 can be exploited through improper handling of specific method calls in the ssh2 library.
Versions of ssh2 prior to 1.4.0 are vulnerable to CVE-2020-26301.