Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1632462 - (CVE-2018-11761) CVE-2018-11761 tika: XML entity expansion vulnerability due to lack of limit configuration
CVE-2018-11761 tika: XML entity expansion vulnerability due to lack of limit ...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180919,repor...
: Security
Depends On: 1632463 1636026
Blocks: 1632464
  Show dependency treegraph
 
Reported: 2018-09-24 16:40 EDT by Pedro Sampaio
Modified: 2018-10-04 05:38 EDT (History)
40 users (show)

See Also:
Fixed In Version: tika 1.19
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pedro Sampaio 2018-09-24 16:40:19 EDT
In Apache Tika 0.1 to 1.18, the XML parsers were not configured to limit entity expansion. They were therefore vulnerable to an entity expansion vulnerability which can lead to a denial of service attack.

References:

https://lists.apache.org/thread.html/5553e10bba5604117967466618f219c0cae710075819c70cfb3fb421@%3Cdev.tika.apache.org%3E
Comment 1 Pedro Sampaio 2018-09-24 16:40:40 EDT
Created tika tracking bugs for this issue:

Affects: fedora-all [bug 1632463]
Comment 2 Tomas Hoger 2018-10-04 03:37:42 EDT
Upstream commit:

https://github.com/apache/tika/commit/bd9d75d8b0a85af2937047bfad04288c3044b2a6

Note that this commit would only apply cleanly to version 1.17 and later, which added XMLReaderUtils as part of the refactoring of XML parsers:

https://github.com/apache/tika/commit/c0c2eafe46224e5c316f2dede395308930a5ec0d

A fix for older versions would likely have to set entityExpansionLimit in all places XML parsers are created.

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