GHSA-5fw9-fq32-wv5p
OS Command Injection in node-notifier
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | node-notifier | < 8.0.1 | 8.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-7789
- https://github.com/mikaelbr/node-notifier/commit/5d62799dab88505a709cd032653b2320c5813fce
- 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