CVE-2018-3757 Command Injection in pdf-image
Attackers can execute arbitrary commands via unescaped parameters in the pdf-image library, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-3757?
CVE-2018-3757 is a critical command injection vulnerability in n/a, published on 1 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.
Weakness: CWE-78
Which versions are affected by CVE-2018-3757?
2 open source packages ship an affected version, including pdf-image. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pdf-image npm | All versions | 2.0.0 |
pdf-image npm | All versions | 2.0.0 |
Products include Pdf-Image Project Pdf-Image.
How do I fix CVE-2018-3757?
Upgrade pdf-image to 2.0.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-3757 being exploited?
There is no known exploitation of CVE-2018-3757 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5gwh-g79j-vh4q.