CVE-2022-24615 Uncaught Exception in zip4j

Medium 5.5 Published Updated

Attackers can crash applications using the zip4j library by providing specially crafted ZIP 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-24615?

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

zip4j up to v2.10.0 can throw various uncaught exceptions while parsing a specially crafted ZIP file, which could result in an application crash. This could be used to mount a denial of service attack against services that use zip4j library.

Weakness: CWE-755

Which versions are affected by CVE-2022-24615?

2 open source packages ship an affected version, including net.lingala.zip4j:zip4j. It affects 1 product.

PackageAffectedFixed in
net.lingala.zip4j:zip4j MavenAll versions2.10.0
net.lingala.zip4j:zip4j MavenAll versions2.10.0

Products include Zip4j Project Zip4j.

How do I fix CVE-2022-24615?

Upgrade net.lingala.zip4j:zip4j to 2.10.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-24615 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-24615, GHSA-q62h-jw38-24vh, UBUNTU-CVE-2022-24615.

Is CVE-2022-24615 in your software?

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

Check your SBOMs for free