CVEvulnerability
CVE-2020-26301
10.0 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-09-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78
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 configurations
• ssh2 project ssh2 (< 1.4.0)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21 Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/ Exploit, Patch, Third Party Advisory
- https://www.npmjs.com/package/ssh2 Product, Third Party Advisory
- https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21 Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/ Exploit, Patch, Third Party Advisory
- https://www.npmjs.com/package/ssh2 Product, Third Party Advisory