GitHub Advisoryadvisory · npm

GHSA-652h-xwhf-q4h6 OS Command Injection in ssh2

HIGH Published 2021-09-21 Modified 2024-02-12 Official page ↗
Aliases
CVE-2020-26301
Ecosystem
npm
Packages
ssh2
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Weaknesses
CWE-78
Reviewed
2021-09-21

Affected packages

• npm ssh2: < 1.4.0 → fixed in 1.4.0

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.

Related

Alias · CVE (1)

  • CVE-2020-26301 ssh2 is client and server modules written in pure JavaScript for node.js. vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References