Bug 799078 (CVE-2012-0213) - CVE-2012-0213 apache-poi, jakarta: JVM destabilization due to memory exhaustion when processing CDF/CFBF files
Summary: CVE-2012-0213 apache-poi, jakarta: JVM destabilization due to memory exhausti...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-0213
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 820788 820789
Blocks: 799097
TreeView+ depends on / blocked
 
Reported: 2012-03-01 18:10 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:50 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-06 00:54:07 UTC
Embargoed:


Attachments (Terms of Use)
Not yet upstream approved patch proposal, provided by Florian Weimer (2.76 KB, patch)
2012-03-01 18:42 UTC, Jan Lieskovsky
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1232 0 normal SHIPPED_LIVE Important: JBoss Enterprise Portal Platform 5.2.2 update 2012-09-05 20:25:36 UTC

Description Jan Lieskovsky 2012-03-01 18:10:50 UTC
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.

Comment 3 Jan Lieskovsky 2012-03-01 18:40:48 UTC
This issue affects the versions of the apache-poi package, as shipped with Fedora release of 15 and 16.

Comment 4 Jan Lieskovsky 2012-03-01 18:42:59 UTC
Created attachment 566915 [details]
Not yet upstream approved patch proposal, provided by Florian Weimer

Comment 6 David Jorm 2012-05-10 05:02:47 UTC
Debian security advisory publicly disclosing this flaw:

http://lists.debian.org/debian-security-announce/2012/msg00104.html

Debian patch:

http://snapshot.debian.org/archive/debian-security/20120509T181445Z/pool/updates/main/libj/libjakarta-poi-java/libjakarta-poi-java_3.6%2Bdfsg-1%2Bsqueeze1.diff.gz

See libjakarta-poi-java-3.6+dfsg.orig/debian/patches/05_CVE-2012-0213 within the above file for the isolated patch.

Comment 8 David Jorm 2012-05-11 00:54:45 UTC
Created apache-poi tracking bugs for this issue

Affects: fedora-all [bug 820788]

Comment 9 Orion Poplawski 2012-05-11 03:14:03 UTC
The debian patch appears to be the same as the attached one, so I will apply that.  Is there an upstream issue filed?

Comment 10 David Jorm 2012-05-11 03:22:37 UTC
(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.

Comment 11 Fedora Update System 2012-05-19 06:56:06 UTC
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.

Comment 12 Fedora Update System 2012-05-19 06:56:26 UTC
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.

Comment 13 Fedora Update System 2012-08-03 11:28:38 UTC
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.

Comment 14 errata-xmlrpc 2012-09-05 16:27:10 UTC
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


Note You need to log in before you can comment on or make changes to this bug.