{"id":"CVE-2014-3741","aliases":["EUVD-2017-0341","GHSA-5c8j-xr24-2665","UBUNTU-CVE-2014-3741"],"status":"published","title":"Potential Command Injection in printer","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03759,"percentile":0.89972,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2017-10-23T18:00:00Z","modified":"2026-06-17T00:08:49Z","fixes":[{"ecosystem":"npm","package":"printer","fixed_in":["0.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"printer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.1"},{"fixed":"0.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"printer","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.2"}]}]}],"products":[{"vendor":"node-printer_project","product":"node-printer"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/05/15/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2014/05/13/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://nodesecurity.io/advisories/printer_potential_command_injection","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://github.com/tojocky/node-printer/commit/e001e38738c17219a1d9dd8c31f7d82b9c0013c7","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3741","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5c8j-xr24-2665","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/27","tags":["web"]},{"url":"https://github.com/tojocky/node-printer","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2014-3741","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2014/05/14","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-3741","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-3741","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.","status":"published","published":"2017-10-23T18:00:00Z","modified":"2024-08-06T10:50:17.976Z","updated_at":"2026-11-02T14:33:44.23164Z"}],"euvd":[{"id":"EUVD-2017-0341","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.","status":"published","published":"2017-10-23T18:00:00Z","modified":"2024-08-06T10:50:17Z","updated_at":"2026-11-03T01:57:09.905604Z"}],"ghsa":[{"id":"GHSA-5c8j-xr24-2665","title":"Potential Command Injection in printer","description":"Versions 0.0.1 and earlier of `printer` are affected by a command injection vulnerability resulting from a failure to sanitize command arguments properly in the `printDirect()` function. \n\n\n\n## Recommendation\n\nUpdate to version 0.0.2 or later.","status":"published","published":"2017-11-28T22:44:52Z","modified":"2023-01-09T05:02:44Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:03.768255Z"}],"nvd":[{"id":"CVE-2014-3741","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.","status":"published","published":"2017-10-23T18:29:00.57Z","modified":"2026-06-17T00:08:49.633Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:02:59.001778Z"}],"osv":[{"id":"GHSA-5c8j-xr24-2665","title":"Potential Command Injection in printer","description":"Versions 0.0.1 and earlier of `printer` are affected by a command injection vulnerability resulting from a failure to sanitize command arguments properly in the `printDirect()` function. \n\n\n\n## Recommendation\n\nUpdate to version 0.0.2 or later.","status":"published","published":"2017-11-28T22:44:52Z","modified":"2023-11-08T03:57:40.925167Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:38.213481Z"},{"id":"UBUNTU-CVE-2014-3741","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.","status":"withdrawn","published":"2017-10-23T18:29:00Z","modified":"2025-07-08T14:44:29.598297Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:09.010095Z"}]}}
