CVE-2020-8175 Uncontrolled resource consumption in jpeg-js

Medium 5.5 Published Updated

Attackers can cause denial of service in applications using jpeg-js by submitting specially crafted JPEG images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-8175?

CVE-2020-8175 is a medium-severity denial of service vulnerability in jpeg-js, published on 24 Jul 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Uncontrolled resource consumption in `jpeg-js` before 0.4.0 may allow attacker to launch denial of service attacks using specially a crafted JPEG image.

Weakness: CWE-400

Which versions are affected by CVE-2020-8175?

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

PackageAffectedFixed in
jpeg-js npmAll versions0.4.0
jpeg-js npmAll versions0.4.0

Products include Jpeg-Js Project Jpeg-Js.

How do I fix CVE-2020-8175?

Upgrade jpeg-js to 0.4.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-8175 being exploited?

There is no known exploitation of CVE-2020-8175 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-w7q9-p3jq-fmhm.

Is CVE-2020-8175 in your software?

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

Check your SBOMs for free