CVE-2020-26301
nodejs-ssh2: Command injection by calling vulnerable method with untrusted input
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (élevée), Red Hat (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | ssh2 | 1.4.0 |
Références
- https://access.redhat.com/security/cve/CVE-2020-26301
- https://github.com/mscdex/ssh2
- https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21
- https://nvd.nist.gov/vuln/detail/CVE-2020-26301
- https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2
- https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/
- https://www.cve.org/CVERecord?id=CVE-2020-26301
- https://www.npmjs.com/package/ssh2