Vulnerability Details : CVE-2020-26301
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.
Vulnerability category: Execute code
Products affected by CVE-2020-26301
- cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-26301
4.17%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 92 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-26301
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
10.0
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
3.9
|
6.0
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
2.2
|
4.7
|
GitHub, Inc. |
CWE ids for CVE-2020-26301
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: security-advisories@github.com (Primary)
References for CVE-2020-26301
-
https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21
examples,lib,test: switch to code rewrite · mscdex/ssh2@f763271 · GitHubPatch;Third Party Advisory
-
https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/
GHSL-2020-123: Command injection in mscdex/ssh2 - CVE-2020-26301 | GitHub Security LabExploit;Patch;Third Party Advisory
-
https://www.npmjs.com/package/ssh2
ssh2 - npmProduct;Third Party Advisory
Jump to