Arbitrary Command Injection Affecting printer package, versions <0.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.41% (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 ID npm:printer:20140306
  • published 6 Mar 2014
  • disclosed 6 Mar 2014
  • credit Adam Baldwin

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
Expand this section

Snyk

6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None