Description
The printDirect function in lib/printer.js in the node-printer module 0.0.1 and earlier for Node.js allows remote attackers to execute arbitrary commands via unspecified characters in the lpr command.
Remediation
References
https://nodesecurity.io/advisories/printer_potential_command_injection
https://github.com/tojocky/node-printer/commit/e001e38738c17219a1d9dd8c31f7d82b9c0013c7
http://www.openwall.com/lists/oss-security/2014/05/15/2
http://www.openwall.com/lists/oss-security/2014/05/13/1
Related Vulnerabilities
CVE-2020-7663 Vulnerability in npm package websocket-extensions
CVE-2017-16016 Vulnerability in npm package sanitize-html
CVE-2019-1003035 Vulnerability in maven package org.jenkins-ci.plugins:azure-vm-agents
CVE-2020-13959 Vulnerability in maven package org.apache.velocity.tools:velocity-tools-view
CVE-2018-5158 Vulnerability in maven package org.webjars.npm:pdfjs-dist