Red Hat Bugzilla – Bug 799078
CVE-2012-0213 apache-poi, jakarta: JVM destabilization due to memory exhaustion when processing CDF/CFBF files
Last modified: 2012-09-05 20:54:07 EDT
A flaw was found in the way Apache POI, the Java API for Microsoft Office file formats, handles memory when processing certain Channel Definition Format (CDF) / Compound File Binary Format (CFBF) documents. Apache POI allocates arrays with arbitrary sizes specified in the document. A remote attacker could exploit this flaw by providing a specially-crafted CDF / CFBF file to an application using Apache POI, leading to an to OutOfMemoryError exception in the current thread, or potentially destabilization of the whole Java Virtual Machine instance.
This issue affects the versions of the apache-poi package, as shipped with Fedora release of 15 and 16.
Created attachment 566915 [details]
Not yet upstream approved patch proposal, provided by Florian Weimer
Debian security advisory publicly disclosing this flaw:
See libjakarta-poi-java-3.6+dfsg.orig/debian/patches/05_CVE-2012-0213 within the above file for the isolated patch.
Created apache-poi tracking bugs for this issue
Affects: fedora-all [bug 820788]
The debian patch appears to be the same as the attached one, so I will apply that. Is there an upstream issue filed?
(In reply to comment #9)
> The debian patch appears to be the same as the attached one, so I will apply
> that. Is there an upstream issue filed?
Not that I am aware of, I believe this issue was communicated to upstream by email.
apache-poi-3.8-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
apache-poi-3.7-7.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
apache-poi-3.8-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products:
JBoss Enterprise Portal Platform 5.2.2
Via RHSA-2012:1232 https://rhn.redhat.com/errata/RHSA-2012-1232.html