{"id":"CVE-2020-26301","aliases":["GHSA-652h-xwhf-q4h6"],"summary":"Command injection in mscdex/ssh2","published_at":"2021-09-20T00:00:00Z","modified_at":"2024-08-04T15:56:04.459Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.03832000121474266,"percentile":0.903219997882843,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"mscdex/ssh2","versions":["< 1.4.0"],"provider":"cvelistv5","source":"CVE-2020-26301","relation":"self"},{"ecosystem":"NVD","package":"ssh2_project:ssh2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"fixed":["1.4.0"],"provider":"nvd","source":"CVE-2020-26301","relation":"self"},{"ecosystem":"npm","package":"ssh2","purl":"pkg:npm/ssh2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"fixed":["1.4.0"],"provider":"osv","source":"GHSA-652h-xwhf-q4h6","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Storage 4.8 on RHEL-8","cpe":"cpe:/a:redhat:openshift_container_storage:4.8::el8","status":"fixed","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-core-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-must-gather-rhel8","ocs4/ocs-operator-bundle","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator","ocs4/volume-replication-rhel8-operator"],"package_count":8,"fixed":[],"advisories":["RHSA-2021:4845"],"provider":"redhat-vex","source":"CVE-2020-26301"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"affected","packages":["noobaa-core-container"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2020-26301"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-26301","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-26301","license":"CC-BY-4.0","published_at":"2021-09-20T19:40:12Z","modified_at":"2024-08-04T15:56:04.459Z","summary":"Command injection in mscdex/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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","source":"CVE-2020-26301"}],"affected":[{"ecosystem":"CVE","package":"mscdex/ssh2","versions":["< 1.4.0"],"provider":"cvelistv5","source":"CVE-2020-26301","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21"},{"type":"WEB","url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/"},{"type":"WEB","url":"https://www.npmjs.com/package/ssh2"}]},{"provider":"nvd","source_id":"CVE-2020-26301","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301","severity":[],"affected":[{"ecosystem":"NVD","package":"ssh2_project:ssh2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"fixed":["1.4.0"],"provider":"nvd","source":"CVE-2020-26301","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-652h-xwhf-q4h6","relation":"self","url":"https://osv.dev/vulnerability/GHSA-652h-xwhf-q4h6","license":"CC-BY-4.0","published_at":"2021-09-21T16:50:46Z","modified_at":"2024-02-12T15:03:29Z","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","source":"GHSA-652h-xwhf-q4h6"}],"affected":[{"ecosystem":"npm","package":"ssh2","purl":"pkg:npm/ssh2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"fixed":["1.4.0"],"provider":"osv","source":"GHSA-652h-xwhf-q4h6","relation":"self"}],"product_status":[],"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"}]},{"provider":"redhat-vex","source_id":"CVE-2020-26301","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-26301","license":"CC-BY-4.0","published_at":"2021-09-20T00:00:00Z","modified_at":"2021-11-29T13:39:03Z","summary":"nodejs-ssh2: Command injection by calling vulnerable method with untrusted input","details":"A flaw was found in nodejs-ssh2. An OS command injection attack on Windows allows an attacker to perform remote code execution and potentially execute arbitrary code. The highest threat from this vulnerability is to confidentiality and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"CVE-2020-26301"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-26301"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Storage 4.8 on RHEL-8","cpe":"cpe:/a:redhat:openshift_container_storage:4.8::el8","status":"fixed","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-core-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-must-gather-rhel8","ocs4/ocs-operator-bundle","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator","ocs4/volume-replication-rhel8-operator"],"package_count":8,"fixed":[],"advisories":["RHSA-2021:4845"],"provider":"redhat-vex","source":"CVE-2020-26301"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"affected","packages":["noobaa-core-container"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2020-26301"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-26301.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-26301"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2006958"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-26301"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301"},{"type":"WEB","url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/"}]}],"references":[{"type":"WEB","url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21"},{"type":"WEB","url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/"},{"type":"WEB","url":"https://www.npmjs.com/package/ssh2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301"},{"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://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-26301.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-26301"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2006958"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-26301"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-26301","url":"https://www.cve.org/CVERecord?id=CVE-2020-26301","license":"CC-BY-4.0","modified_at":"2024-08-04T15:56:04.459Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-26301","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301","relation":"self"},{"provider":"osv","source_id":"GHSA-652h-xwhf-q4h6","url":"https://osv.dev/vulnerability/GHSA-652h-xwhf-q4h6","license":"CC-BY-4.0","modified_at":"2024-02-12T15:03:29Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-26301","url":"https://access.redhat.com/security/cve/CVE-2020-26301","license":"CC-BY-4.0","modified_at":"2021-11-29T13:39:03Z","relation":"self"}]}
