Skip to content
OpenAdvisories
High · 7.5 CVE-2020-26301 EUVD-2021-1990GHSA-652h-xwhf-q4h6

Command injection in mscdex/ssh2

Published Sep 20, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
mscdex ssh2 < 1.4.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ssh2 < 1.4.0 1.4.0 GHSA-652h-xwhf-q4h6

References