CVE-2014-3741 Potential Command Injection in printer
Remote attackers can execute arbitrary commands via the printDirect function in the node-printer library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-3741?
CVE-2014-3741 is a critical command injection vulnerability in n/a, published on 23 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-77
Which versions are affected by CVE-2014-3741?
2 open source packages ship an affected version, including printer. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
printer npm | All versions | 0.0.2 |
printer npm | All versions | 0.0.2 |
Products include Node-Printer Project Node-Printer.
How do I fix CVE-2014-3741?
Upgrade printer to 0.0.2 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2014-3741 being exploited?
There is no known exploitation of CVE-2014-3741 in the wild and no public exploit code.
Sources
Also known as GHSA-5c8j-xr24-2665.