CVE-2012-0213 Denial of Service in Apache POI

Medium 5.0 Published Updated

Remote attackers can cause denial of service in applications using Apache POI by sending crafted CDF or CFBF documents with malicious length values.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-0213?

CVE-2012-0213 is a medium-severity denial of service vulnerability in n/a, published on 7 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The UnhandledDataStructure function in hwpf/model/UnhandledDataStructure.java in Apache POI 3.8 and earlier allows remote attackers to cause a denial of service (OutOfMemoryError exception and possibly JVM destabilization) via a crafted length value in a Channel Definition Format (CDF) or Compound File Binary Format (CFBF) document.

Weakness: CWE-399

Which versions are affected by CVE-2012-0213?

4 open source packages ship an affected version, including org.apache.poi:poi and org.apache.poi:poi-scratchpad. It affects 1 product.

PackageAffectedFixed in
org.apache.poi:poi MavenAll versions3.10-beta1
org.apache.poi:poi MavenAll versions3.10-beta1
org.apache.poi:poi-scratchpad MavenAll versions3.10-beta1
org.apache.poi:poi-scratchpad MavenAll versions3.10-beta1

Products include Apache Poi.

How do I fix CVE-2012-0213?

Upgrade org.apache.poi:poi to 3.10-beta1 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-2012-0213 being exploited?

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

Sources

Also known as DSA-2468-1, GHSA-jqx5-h2hw-5q4f.

Is CVE-2012-0213 in your software?

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

Check your SBOMs for free