CVE-2020-7602

Source
https://nvd.nist.gov/vuln/detail/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:14Z
Modified
2025-01-14T08:57:07.935871Z
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