medium5.6
CVE-2020-7789
OS Command Injection in node-notifier
Impact
This affects the package node-notifier before 8.0.1. 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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | node-notifier | < 8.0.1 | 8.0.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Node-Notifier Project | Node-Notifier | before 8.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/mikaelbr/node-notifier/blob/master/lib/utils.js%23L303
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050371
- https://snyk.io/vuln/SNYK-JS-NODENOTIFIER-1035794
- https://github.com/advisories/GHSA-5fw9-fq32-wv5p
- https://nvd.nist.gov/vuln/detail/CVE-2020-7789
- https://github.com/mikaelbr/node-notifier/commit/5d62799dab88505a709cd032653b2320c5813fce