Advisory

GHSA-f8fh-8rgm-227h

Also known as: CVE-2020-7602, SNYK-JS-NODEPROMPTHERE-560115

Summary

OS Command Injection in node-prompt-here

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-07 16:16 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

node-prompt-here

npm · All systems

Affected

  • introduced 0, last affected 1.0.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences