CVE-2020-8132 Improper Input Validation and Code Injection in pdf-image

Critical 9.8 Published Updated

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.

Weakness: CWE-20, CWE-94

Which versions are affected by CVE-2020-8132?

2 open source packages ship an affected version, including pdf-image. It affects 1 product.

PackageAffectedFixed in
pdf-image npmAll versions to 2.0.0None
pdf-image npmAll versions to 2.0.0None

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.

Sources

Also known as GHSA-rv7p-mmwq-x674.

Is CVE-2020-8132 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free