CVE-2020-8132 Improper Input Validation and Code Injection in pdf-image
Attackers can execute arbitrary code via untrusted input in the pdf-image npm package due to lack of input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-8132?
CVE-2020-8132 is a critical code injection vulnerability in pdf-image, published on 28 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Lack of input validation in pdf-image npm package version <= 2.0.0 may allow an attacker to run arbitrary code if PDF file path is constructed based on untrusted user input.
Which versions are affected by CVE-2020-8132?
2 open source packages ship an affected version, including pdf-image. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pdf-image npm | All versions to 2.0.0 | None |
pdf-image npm | All versions to 2.0.0 | None |
Products include Pdf-Image Project Pdf-Image.
How do I fix CVE-2020-8132?
No fix has been published for CVE-2020-8132 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-8132 being exploited?
There is no known exploitation of CVE-2020-8132 in the wild and no public exploit code.
Other vulnerabilities in pdf-image
Sources
Also known as GHSA-rv7p-mmwq-x674.