Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVmdzktZnEzMi13djVw
OS Command Injection in node-notifier
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.
Permalink: https://github.com/advisories/GHSA-5fw9-fq32-wv5pJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVmdzktZnEzMi13djVw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: over 1 year ago
CVSS Score: 5.6
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Identifiers: GHSA-5fw9-fq32-wv5p, CVE-2020-7789
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-7789
- https://snyk.io/vuln/SNYK-JS-NODENOTIFIER-1035794
- 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://github.com/advisories/GHSA-5fw9-fq32-wv5p
Blast Radius: 35.0
Affected Packages
npm:node-notifier
Dependent packages: 8,208Dependent repositories: 1,792,650
Downloads: 23,471,977 last month
Affected Version Ranges: < 8.0.1
Fixed in: 8.0.1
All affected versions: 0.0.1, 0.0.2, 0.5.0, 1.1.0, 1.2.0, 1.2.1, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.3.0, 3.4.0, 3.4.1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.4.0, 4.5.0, 4.6.0, 4.6.1, 5.0.0, 5.0.1, 5.0.2, 5.1.2, 5.2.0, 5.2.1, 5.3.0, 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.4.4, 5.4.5, 6.0.0, 7.0.0, 7.0.1, 7.0.2, 8.0.0
All unaffected versions: 8.0.1, 8.0.2, 9.0.0, 9.0.1, 10.0.0, 10.0.1