RCE in Mscdex Ssh2
CVE-2020-26301
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.038, 90.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mscdex Ssh2 — versions < 1.4.0
- Ssh2 Project
Weakness classification (CWE)
References
- github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21 (Patch, Third Party Advisory)
- securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/ (Exploit, Patch, Third Party Advisory)
- www.npmjs.com/package/ssh2 (Product, Third Party Advisory)