Advisory

GHSA-652h-xwhf-q4h6

Also known as: CVE-2020-26301

Summary

OS Command Injection in ssh2

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-21 16:50 UTC
Modified
2024-02-12 15:03 UTC

Affected packages and fixes

ssh2

npm · All systems

Affected

  • introduced 0, fixed 1.4.0 (semver)

Fixed versions

1.4.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences