NetSight
high7.5

CVE-2020-26301

OS Command Injection in ssh2

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmssh2< 1.4.01.4.0

Affected products

VendorProductAffected versions
Ssh2 ProjectSsh2
before 1.4.0

Weakness classification

References