CVE-2020-26301
JSON

7.5high

Command injection in mscdex/ssh2

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
3.83% (higher than 90% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-652h-xwhf-q4h6

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.

Affected

Product or packageVersionsReported by
mscdex ssh2< 1.4.0CVE List
ssh2 (npm)before 1.4.0GitHub Advisory Database
ssh2_project ssh2before 1.4.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
NVD10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

ssh2 es un módulo cliente y servidor escrito en JavaScript puro para node.js. En ssh2 versiones anteriores a 1.4.0, se presenta una vulnerabilidad de inyección de comandos. El problema sólo se presenta en Windows. Este problema puede conllevar una ejecución de código remota si un cliente de la biblioteca llama al método vulnerable con una entrada no fiable. Esto es corregido en la versión 1.4.0

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26301 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-652h-xwhf-q4h6 changed 2024-02-12CC-BY-4.0
NVDCVE-2020-26301 changed 2026-06-17Public domain