CVE-2020-7789
MEDIUM 5.6CVSS 3.1OS Command Injection in node-notifier
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.
- Published
- 11 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-5fw9-fq32-wv5p
- Sources
- NVDJSONOSV GHSA-5fw9-fq32-wv5pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-notifier_project | node-notifiercpe:2.3:a:node-notifier_project:node-notifier:*:*:*:*:*:node.js:*:* |
< 8.0.1 | 8.0.1 |
| OSV | npm | node-notifier | < 8.0.1 | 8.0.1 |
References
- https://github.com/mikaelbr/node-notifier/blob/master/lib/utils.js%23L303 · Broken Link, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050371 · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-NODENOTIFIER-1035794 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7789 · ADVISORY
- https://github.com/mikaelbr/node-notifier/commit/5d62799dab88505a709cd032653b2320c5813fce · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Dec 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Dec 2020)