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