Bug 1639090 (CVE-2018-11796) - CVE-2018-11796 tika: Incomplete fix allows for XML entity expansion resulting in denial of service
Summary: CVE-2018-11796 tika: Incomplete fix allows for XML entity expansion resulting...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-11796
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: 1639092
Blocks: 1639093
TreeView+ depends on / blocked
 
Reported: 2018-10-15 04:21 UTC by Sam Fowler
Modified: 2021-02-16 22:57 UTC (History)
26 users (show)

Fixed In Version: tika 1.19.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-15 00:51:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3892 0 None None None 2019-11-14 21:18:03 UTC

Description Sam Fowler 2018-10-15 04:21:31 UTC
Apache Tika 1.19 included an incomplete fix for CVE-2018-11761 which added an entity expansion limit for XML parsing. However, Tika reuses SAXParsers and calls reset() after each parse, which, for Xerces2 parsers, as per the documentation, removes the user-specified SecurityManager and thus removes entity expansion limits after the first parse. Apache Tika 1.19 is therefore still vulnerable to entity expansions which can lead to a denial of service attack.


External Reference:

https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05@%3Cdev.tika.apache.org%3E


Upstream Issue:

https://issues.apache.org/jira/projects/TIKA/issues/TIKA-2727


Upstream Patch:

https://github.com/apache/tika/commit/86d4ba1e

Comment 1 Sam Fowler 2018-10-15 04:22:16 UTC
Created tika tracking bugs for this issue:

Affects: fedora-all [bug 1639092]

Comment 3 Cedric Buissart 2018-11-07 10:20:52 UTC
Statement:

This issue affects the versions of tika which is embedded in the nutch package as shipped with Red Hat Satellite 5. The tika server is not exposed, as such exploitation is difficult, Red Hat Product Security has rated this issue as having security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 6 Joshua Padman 2019-05-15 22:35:40 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss Fuse Service Works 6
 * Red Hat JBoss BRMS 5
 * Red Hat JBoss BRMS 6
 * Red Hat JBoss BPM Suite 6
 * Red Hat JBoss Data Virtualization & Services 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 7 errata-xmlrpc 2019-11-14 21:18:02 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.5.0

Via RHSA-2019:3892 https://access.redhat.com/errata/RHSA-2019:3892

Comment 8 Product Security DevOps Team 2019-11-15 00:51:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-11796


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