CVE-2020-7627: OS Command Injection in node-key-sender
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78238%
CWE
Published
2/10/2022
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
node-key-sender | npm | <= 1.0.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly identifies the execute()
function's arrParams argument as the injection vector. The code shows arrParams.join(' ') being directly interpolated into a system command string executed via exec()
. There's no input validation or sanitization visible in the code path from user input to command execution. The combination of untrusted input concatenation with exec()
creates a classic OS command injection scenario (CWE-78).