Skip to content

CVE-2020-26301 Command injection in mscdex/ssh2

CriticalCVSS 10.0 EPSS 3.8%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm ssh2(npm) < 1.4.0 1.4.0 Fixed
ssh2 project ssh2 < 1.4.0 1.4.0 Fixed
mscdex ssh2 = < 1.4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm ssh2(npm) < 1.4.0 1.4.0
ssh2 project ssh2 < 1.4.0 1.4.0
mscdex ssh2 = < 1.4.0 No fix listed

References