CVE-2022-24614 Allocation of Resources Without Limits or Throttling in metadata-extractor

Medium 5.5 Published Updated

Attackers can cause denial of service by triggering excessive memory allocation via crafted JPEG files in the metadata-extractor library.

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-2022-24614?

CVE-2022-24614 is a medium-severity denial of service vulnerability in n/a, published on 24 Feb 2022. 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

When reading a specially crafted JPEG file, metadata-extractor up to 2.16.0 can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use metadata-extractor library.

Weakness: CWE-770

Which versions are affected by CVE-2022-24614?

2 open source packages ship an affected version, including com.drewnoakes:metadata-extractor. It affects 1 product.

PackageAffectedFixed in
com.drewnoakes:metadata-extractor MavenAll versions2.18.0
com.drewnoakes:metadata-extractor MavenAll versions2.18.0

Products include Metadata-Extractor Project Metadata-Extractor.

How do I fix CVE-2022-24614?

Upgrade com.drewnoakes:metadata-extractor to 2.18.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-2022-24614 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-24614, GHSA-4v6p-cxf9-98rf, UBUNTU-CVE-2022-24614.

Is CVE-2022-24614 in your software?

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

Check your SBOMs for free