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
Related
  • SNYK-JS-NODEPROMPTHERE-560115
Published
2020-03-15T22:15:14.583Z
Modified
2026-03-13T22:00:33.447782Z
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
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.1"
        }
    ]
}

Affected versions

v1.*
v1.0.1

Database specific

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