CVE-2020-7602

Source
https://cve.org/CVERecord?id=CVE-2020-7602
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7602.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-7602
Aliases
Published
2020-03-15T22:15:14.583Z
Modified
2026-07-09T12:32:57.591744Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

node-prompt-here through 1.0.1 allows execution of arbitrary commands. The "runCommand()" is called by "getDevices()" function in file "linux/manager.js", which is required by the "index. process.env.NM_CLI" in the file "linux/manager.js". This function is used to construct the argument of function "execSync()", which can be controlled by users without any sanitization.

References

Affected packages

Git / github.com/s-a/node-prompt-here

Affected ranges

Type
GIT
Repo
https://github.com/s-a/node-prompt-here
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.1"
        }
    ],
    "cpe": "cpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:*",
    "source": "CPE_RANGE"
}

Affected versions

v1.*
v1.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7602.json"