CVE-2020-7602

Source
https://cve.org/CVERecord?id=CVE-2020-7602
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7602.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-7602
Aliases
Related
  • SNYK-JS-NODEPROMPTHERE-560115
Published
2020-03-15T22:15:14.583Z
Modified
2026-02-01T23:43:32.249189Z
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

Affected versions

v1.*
v1.0.1

Database specific

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