Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-notifier
  4. ›
  5. CVE-2020-7789

CVE-2020-7789: OS Command Injection

December 11, 2020 (updated December 17, 2020)

node-notifier allows an attacker to run arbitrary commands on Linux machines due to the options parameters not being sanitised when being passed an array.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-7789

Code Behaviors & Features

Detect and mitigate CVE-2020-7789 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.1

Fixed versions

  • 8.0.1

Solution

Upgrade to version 8.0.1 or above.

Impact 5.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/node-notifier/CVE-2020-7789.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.