ssh2@0.2.15 vulnerabilities

SSH2 client and server modules written in pure JavaScript for node.js

Direct Vulnerabilities

Known vulnerabilities in the ssh2 package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Command Injection

ssh2 is a SSH2 client and server modules written in pure JavaScript for node.js.

Affected versions of this package are vulnerable to Command Injection. 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.

How to fix Command Injection?

Upgrade ssh2 to version 1.0.0 or higher.

<1.0.0