CVE-2014-3741
Potential Command Injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Node.js Security WG (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | printer | 0.0.2 |
| npm::Node.js Ecosystem Security Working Group | printer | > 0.0.1 |
References
- http://www.openwall.com/lists/oss-security/2014/05/13/1
- http://www.openwall.com/lists/oss-security/2014/05/15/2
- https://github.com/advisories/GHSA-5c8j-xr24-2665
- https://github.com/tojocky/node-printer
- https://github.com/tojocky/node-printer/commit/e001e38738c17219a1d9dd8c31f7d82b9c0013c7
- https://nodesecurity.io/advisories/printer_potential_command_injection
- https://nvd.nist.gov/vuln/detail/CVE-2014-3741
- https://www.npmjs.com/advisories/27