printer@0.1.0 vulnerabilities

Node.js printer bindings

Direct Vulnerabilities

Known vulnerabilities in the printer 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
Arbitrary Command Injection

printer does not sanitize command arguments properly in the printDirect() function. If untrusted client input is passed in, command injection is possible.

Source: Node Security Project

How to fix Arbitrary Command Injection?

Upgrade to version > 0.0.1 which is available on github at https://github.com/tojocky/node-printer

<0.2.1