Bug 1539989 (CVE-2017-12626) - CVE-2017-12626 poi: Parsing of multiple file types can cause a denial of service via infinite loop or out of memory exception
Summary: CVE-2017-12626 poi: Parsing of multiple file types can cause a denial of serv...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-12626
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: 1539990 1540098 1541351
Blocks: 1539991
TreeView+ depends on / blocked
 
Reported: 2018-01-30 01:58 UTC by Sam Fowler
Modified: 2020-12-15 15:30 UTC (History)
28 users (show)

Fixed In Version: apache-poi 3.17
Clone Of:
Environment:
Last Closed: 2019-06-08 03:38:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1322 0 None None None 2018-05-03 19:05:31 UTC

Description Sam Fowler 2018-01-30 01:58:34 UTC
Apache POI versions prior to release 3.17 are vulnerable to Denial of Service (DoS) attacks caused by multiple bugs in parsing specially crafted files.

Parsing of WMF, EMF, MSG files and macros can lead to infinite loops, while parsing DOC, PPT and XLS files can cause out of memory exceptions.

External References:
https://nvd.nist.gov/vuln/detail/CVE-2017-12626
https://lists.apache.org/thread.html/453d9af5dbabaccd9afb58d27279a9dbfe8e35f4e5ea1645ddd6960b@%3Cdev.poi.apache.org%3E

Comment 1 Sam Fowler 2018-01-30 02:01:05 UTC
Created apache-poi tracking bugs for this issue:

Affects: fedora-all [bug 1539990]

Comment 2 Tomas Hoger 2018-02-02 10:54:05 UTC
According to the upstream announcement, this CVE covers 4 issues tracked in the following upstream bugs.  Upstream commits relevant to each upstream bug report are also listed:

Avoid infinite loop in corrupt wmf
https://bz.apache.org/bugzilla/show_bug.cgi?id=61338
https://svn.apache.org/viewvc?view=revision&revision=1802997

IOUtils.skipFully can run into infinite loop
https://bz.apache.org/bugzilla/show_bug.cgi?id=61294
https://svn.apache.org/viewvc?view=revision&revision=1801952
https://svn.apache.org/viewvc?view=revision&revision=1806162

OutOfMemoryError parsing a word file
https://bz.apache.org/bugzilla/show_bug.cgi?id=52372
https://svn.apache.org/viewvc?view=revision&revision=1793602

Vector.read -- Java heap space on corrupt file
https://bz.apache.org/bugzilla/show_bug.cgi?id=61295
https://svn.apache.org/viewvc?view=revision&revision=1802879

Comment 5 errata-xmlrpc 2018-05-03 19:05:19 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Fuse

Via RHSA-2018:1322 https://access.redhat.com/errata/RHSA-2018:1322


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