Vulnerability · Published Dec 11, 2020 · Assigned by snyk
CVE-2020-7789Command Injection
Medium 5.6
In plain English
A medium-severity security flaw in node-notifier. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)1.6%top 24.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package node-notifier before 9.0.0. It allows an attacker to run arbitrary commands on Linux machines due to the options params not being sanitised when being passed an array.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | node-notifier | 8.0.1 | GHSA-5fw9-fq32-wv5p |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | node-notifier | unspecified – before 9.0.0 |
References
- https://snyk.io/vuln/SNYK-JS-NODENOTIFIER-1035794 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050371 x_refsource_MISC
- https://github.com/mikaelbr/node-notifier/blob/master/lib/utils.js%23L303 x_refsource_MISC