Description
Apache Tika before 1.13 does not properly initialize the XML parser or choose handlers, which might allow remote attackers to conduct XML External Entity (XXE) attacks via vectors involving (1) spreadsheets in OOXML files and (2) XMP metadata in PDF and other file formats, a related issue to CVE-2016-2175.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | tika | 1.18-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | tika | No fix yet | — |
| Ubuntu 16.04 LTS | tika | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tika:tika-core | < 1.13 | 1.13 | GHSA-4xr4-4c65-hj7f |
References
- 20160526 [CVE-2016-4434] Apache Tika XML External Entity vulnerability mailing-list
- [tika-dev] 20160526 [CVE-2016-4434] Apache Tika XML External Entity vulnerability mailing-list
- RHSA-2017:0272 vendor-advisory
- RHSA-2017:0248 vendor-advisory
- RHSA-2017:0249 vendor-advisory
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report mailing-list