CVE-2020-7789 json
Command Injection
published 2020-12-11 5 y ago modified 2026-06-17 4 mo ago also GHSA-5fw9-fq32-wv5p , EUVD-2020-1483
- cvss
- 5.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm node-notifier 8.0.1
- n/a node-notifier 9.0.0
- python-bleach ansible automation platform 4.2 3.3.0-1.el7pc
- python-bleach ansible automation platform 4.2 3.3.0-1.el8pc
- automation-hub ansible automation platform 4.2 4.2.2-1.el7pc
- automation-hub ansible automation platform 4.2 4.2.2-1.el8pc
- python3-bleach ansible automation platform 4.2 3.3.0-1.el7pc
- python3-bleach ansible automation platform 4.2 3.3.0-1.el8pc
- python3-django ansible automation platform 4.2 2.2.18-1.el7pc
- python3-django ansible automation platform 4.2 2.2.18-1.el8pc
red hat advisories RHSA-2021:0781
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7789 updated cvss 5.6
nodejs-node-notifier: command injection due to the options params not being sanitised when being passed an array
-
Red Hat OpenShift Service Mesh 1 kiali, servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 node-notifieraffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-grafana, openshift4/ose-prometheus, openshift4/ose-thanos-rhel8affected: no fix planned “Will not fix”
-
Red Hat Automation Hub 4.2 for RHEL 7 python-bleach 3.3.0-1.el7pc, automation-hub 4.2.2-1.el7pc, python3-bleach 3.3.0-1.el7pc, python3-django 2.2.18-1.el7pc, python-galaxy-ng 4.2.2-1.el7pc, python3-galaxy-ng 4.2.2-1.el7pc, +6 more Red Hat Automation Hub 4.2 for RHEL 8 python-bleach 3.3.0-1.el8pc, automation-hub 4.2.2-1.el8pc, python3-bleach 3.3.0-1.el8pc, python3-django 2.2.18-1.el8pc, python-galaxy-ng 4.2.2-1.el8pc, python3-galaxy-ng 4.2.2-1.el8pc, +6 morefixed: vendor fix RHSA-2021:0781
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.59% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-notifier | <8.0.1 |
8.0.1 |
Affected products
- n/a node-notifier
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/mikaelbr/node-notifier/commit/5d62799dab88505a709cd032653b2320c5813fce
web
-
snyk.io
/vuln/SNYK-JS-NODENOTIFIER-1035794
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050371
web, third-party-advisory
-
github.com
/mikaelbr/node-notifier/blob/master/lib/utils.js%23L303
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2020-7789
advisory
Sources
- CVE List CVE-2020-7789
- GitHub Advisory GHSA-5fw9-fq32-wv5p
- NVD CVE-2020-7789
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.