CVE-2020-7602

Published Mar 15, 2020 CVSS 3.1 · 9.8 Critical EPSS 2.7% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1055 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.
Github GHSA Github GHSA GHSA-f8fh-8rgm-227h OS Command Injection in node-prompt-here
History

No history.

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Aug 4, 2024, 9:33 AM
Reserved
Jan 21, 2020, 12:00 AM
Status
Modified
Published
Mar 15, 2020, 10:15 PM
Modified
Jun 17, 2026, 3:25 AM