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.
{
"unresolved_ranges": [
{
"vendor_product": "ssh2_project:ssh2",
"cpes": [
"cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:*"
],
"extracted_events": [
{
"fixed": "1.4.0"
}
],
"source": "CPE_RANGE"
},
{
"extracted_events": [
{
"introduced": "ssh2"
},
{
"fixed": "1.4.0"
}
],
"source": "DESCRIPTION"
}
]
}