{"id":"GHSA-652h-xwhf-q4h6","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.","aliases":["CVE-2020-26301"],"modified":"2024-02-12T15:03:29Z","published":"2021-09-21T16:50:46Z","database_specific":{"cwe_ids":["CWE-78"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-09-21T14:50:54Z","nvd_published_at":"2021-09-20T20:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301"},{"type":"WEB","url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21"},{"type":"PACKAGE","url":"https://github.com/mscdex/ssh2"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2"},{"type":"WEB","url":"https://www.npmjs.com/package/ssh2"}],"affected":[{"package":{"name":"ssh2","ecosystem":"npm","purl":"pkg:npm/ssh2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-652h-xwhf-q4h6/GHSA-652h-xwhf-q4h6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"}]}