CVE-2022-24613 Improper Handling of Exceptional Conditions inn metadata-extractor

Medium 5.5 Published Updated

Attackers can crash applications using the metadata-extractor library by providing specially crafted JPEG files, causing a denial of service.

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-24613?

CVE-2022-24613 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

metadata-extractor up to 2.16.0 can throw various uncaught exceptions while parsing a specially crafted JPEG file, which could result in an application crash. This could be used to mount a denial of service attack against services that use metadata-extractor library.

Weakness: CWE-755

Which versions are affected by CVE-2022-24613?

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-24613?

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-24613 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-24613, GHSA-p5pg-wm9q-8v6r, UBUNTU-CVE-2022-24613.

Is CVE-2022-24613 in your software?

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

Check your SBOMs for free