{"id":"CVE-2020-26301","state":"PUBLISHED","title":"Command injection in mscdex/ssh2","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.","publishedAt":"2021-09-20T19:40:12.000Z","updatedAt":"2024-08-04T15:56:04.459Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mscdex ssh2"],"affected":[{"vendor":"mscdex","product":"ssh2","versions":[{"version":"< 1.4.0","status":"affected"}]}],"references":["https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","https://www.npmjs.com/package/ssh2"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:47:08.370Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/26xxx/CVE-2020-26301.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-26301","state":"PUBLISHED","datePublished":"2021-09-20T19:40:12.000Z","dateUpdated":"2024-08-04T15:56:04.459Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-10-01T00:00:00.000Z"},"containers":{"cna":{"title":"Command injection in mscdex/ssh2","descriptions":[{"lang":"en","value":"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":[{"vendor":"mscdex","product":"ssh2","versions":[{"version":"< 1.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.npmjs.com/package/ssh2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 OS Command Injection","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-09-20T19:40:12.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSL-2020-123","discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26301","STATE":"PUBLIC","TITLE":"Command injection in mscdex/ssh2"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ssh2","version":{"version_data":[{"version_value":"< 1.4.0"}]}}]},"vendor_name":"mscdex"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78 OS Command Injection"}]}]},"references":{"reference_data":[{"name":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","refsource":"MISC","url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21"},{"name":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","refsource":"CONFIRM","url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/"},{"name":"https://www.npmjs.com/package/ssh2","refsource":"MISC","url":"https://www.npmjs.com/package/ssh2"}]},"source":{"advisory":"GHSL-2020-123","discovery":"INTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.npmjs.com/package/ssh2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T15:56:04.459Z"}}]}}}