Arbitrary Command Injection Affecting printer package, versions [,0.0.1]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-PRINTER-60204
  • published6 Nov 2015
  • disclosed6 Nov 2015
  • creditAdam Baldwin

Introduced: 6 Nov 2015

CVE-2014-3741  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

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

Overview

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

CVSS Scores

version 3.1