node-notifier@8.0.1 vulnerabilities

A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

Direct Vulnerabilities

Known vulnerabilities in the node-notifier package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Command Injection

node-notifier is an A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

Affected versions of this package are vulnerable to Command Injection. It allows an attacker to run arbitrary commands on Linux machines due to the options params not being sanitised when being passed an array.

How to fix Command Injection?

Upgrade node-notifier to version 5.4.5, 8.0.2, 9.0.1 or higher.

<5.4.5 >=8.0.0 <8.0.2 >=9.0.0 <9.0.1