CVE-2020-7602GHSA-F8FH-8RGM-227HSNYK-JS-NODEPROMPTHERE-560115
node-prompt-here through 1.0.1 allows execution of arbitrary commands.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 proof of concept on GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a node-prompt-here
All versions including 1.0.1
- node-prompt-herenpm
through 1.0.1