CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020

CVE-2020-7602
Node-prompt-here Project Node-prompt-here vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Node-prompt-here. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Node-prompt-here Project Node-prompt-here runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.