OSV-2024-939 Security exception in org.apache.poi.util.LZWDecompresser.decompress

Not scored Published

A security exception in Apache POI's LZW decompressor can cause a denial of service when processing maliciously crafted files.

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
None listed

What is OSV-2024-939?

OSV-2024-939 is a denial of service vulnerability in apache-poi, published on 16 Aug 2024. 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

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70377

Crash type: Security exception
Crash state:
org.apache.poi.util.LZWDecompresser.decompress
org.apache.poi.util.LZWDecompresser.decompress
org.apache.poi.hdgf.streams.CompressedStreamStore.decompress

Which versions are affected by OSV-2024-939?

1 open source package ship an affected version, including apache-poi.

PackageAffectedFixed in
apache-poi OSS-FuzzAll versionsNone

How do I fix OSV-2024-939?

No fix has been published for OSV-2024-939 yet. Limit exposure of the affected software until one is available.

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

Is OSV-2024-939 being exploited?

There is no known exploitation of OSV-2024-939 in the wild and no public exploit code.

Sources

Is OSV-2024-939 in your software?

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

Check your SBOMs for free