Tika Apache Tika

Do you want an email whenever new security vulnerabilities are reported in Apache Tika?

By the Year

In 2024 there have been 0 vulnerabilities in Apache Tika . Tika did not have any published security vulnerabilities last year.

Year Vulnerabilities Average Score
2024 0 0.00
2023 0 0.00
2022 4 4.95
2021 2 6.50
2020 3 5.50
2019 3 7.70
2018 8 6.50

It may take a day or so for new Tika vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Apache Tika Security Vulnerabilities

The initial fixes in CVE-2022-30126 and CVE-2022-30973 for regexes in the StandardsExtractingContentHandler were insufficient

CVE-2022-33879 3.3 - Low - June 27, 2022

The initial fixes in CVE-2022-30126 and CVE-2022-30973 for regexes in the StandardsExtractingContentHandler were insufficient, and we found a separate, new regex DoS in a different regex in the StandardsExtractingContentHandler. These are now fixed in 1.28.4 and 2.4.1.

We failed to apply the fix for CVE-2022-30126 to the 1.x branch in the 1.28.2 release

CVE-2022-30973 5.5 - Medium - May 31, 2022

We failed to apply the fix for CVE-2022-30126 to the 1.x branch in the 1.28.2 release. In Apache Tika, a regular expression in the StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.3.

In Apache Tika

CVE-2022-30126 5.5 - Medium - May 16, 2022

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0

The BPG parser in versions of Apache Tika before 1.28.2 and 2.4.0 may allocate an unreasonable amount of memory on carefully crafted files.

CVE-2022-25169 5.5 - Medium - May 16, 2022

The BPG parser in versions of Apache Tika before 1.28.2 and 2.4.0 may allocate an unreasonable amount of memory on carefully crafted files.

Allocation of Resources Without Limits or Throttling

An XXE issue in SAXBuilder in JDOM through 2.0.6

CVE-2021-33813 7.5 - High - June 16, 2021

An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request.

XXE

A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25

CVE-2021-28657 5.5 - Medium - March 31, 2021

A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.

Infinite Loop

A carefully crafted or corrupt file may trigger a System.exit in Tika's OneNote Parser

CVE-2020-9489 5.5 - Medium - April 27, 2020

A carefully crafted or corrupt file may trigger a System.exit in Tika's OneNote Parser. Crafted or corrupted files can also cause out of memory errors and/or infinite loops in Tika's ICNSParser, MP3Parser, MP4Parser, SAS7BDATParser, OneNoteParser and ImageParser. Apache Tika users should upgrade to 1.24.1 or later. The vulnerabilities in the MP4Parser were partially fixed by upgrading the com.googlecode:isoparser:1.1.22 dependency to org.tallison:isoparser:1.9.41.2. For unrelated security reasons, we upgraded org.apache.cxf to 3.3.6 as part of the 1.24.1 release.

Infinite Loop

A carefully crafted or corrupt PSD file

CVE-2020-1950 5.5 - Medium - March 23, 2020

A carefully crafted or corrupt PSD file can cause excessive memory usage in Apache Tika's PSDParser in versions 1.0-1.23.

Resource Exhaustion

A carefully crafted or corrupt PSD file

CVE-2020-1951 5.5 - Medium - March 23, 2020

A carefully crafted or corrupt PSD file can cause an infinite loop in Apache Tika's PSDParser in versions 1.0-1.23.

Infinite Loop

A carefully crafted or corrupt zip file can cause an OOM in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21

CVE-2019-10088 8.8 - High - August 02, 2019

A carefully crafted or corrupt zip file can cause an OOM in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21. Users should upgrade to 1.22 or later.

Allocation of Resources Without Limits or Throttling

In Apache Tika 1.19 to 1.21

CVE-2019-10093 6.5 - Medium - August 02, 2019

In Apache Tika 1.19 to 1.21, a carefully crafted 2003ml or 2006ml file could consume all available SAXParsers in the pool and lead to very long hangs. Apache Tika users should upgrade to 1.22 or later.

Allocation of Resources Without Limits or Throttling

A carefully crafted package/compressed file

CVE-2019-10094 7.8 - High - August 02, 2019

A carefully crafted package/compressed file that, when unzipped/uncompressed yields the same file (a quine), causes a StackOverflowError in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21. Apache Tika users should upgrade to 1.22 or later.

Allocation of Resources Without Limits or Throttling

A carefully crafted or corrupt sqlite file

CVE-2018-17197 6.5 - Medium - December 24, 2018

A carefully crafted or corrupt sqlite file can cause an infinite loop in Apache Tika's SQLite3Parser in versions 1.8-1.19.1 of Apache Tika.

Infinite Loop

In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing

CVE-2018-11796 7.5 - High - October 09, 2018

In Apache Tika 1.19 (CVE-2018-11761), we 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 versions from 0.1 to 1.19 are therefore still vulnerable to entity expansions which can lead to a denial of service attack. Users should upgrade to 1.19.1 or later.

XXE

In Apache Tika 1.2 to 1.18, a carefully crafted file

CVE-2018-8017 5.5 - Medium - September 19, 2018

In Apache Tika 1.2 to 1.18, a carefully crafted file can trigger an infinite loop in the IptcAnpaParser.

Infinite Loop

In Apache Tika 0.1 to 1.18, the XML parsers were not configured to limit entity expansion

CVE-2018-11761 7.5 - High - September 19, 2018

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.

XXE

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite

CVE-2018-11762 5.9 - Medium - September 19, 2018

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.

Directory traversal

From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server

CVE-2018-1335 8.1 - High - April 25, 2018

From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server that could be used to inject commands into the command line of the server running tika-server. This vulnerability only affects those running tika-server on a server that is open to untrusted clients. The mitigation is to upgrade to Tika 1.18.

A carefully crafted (or fuzzed) file

CVE-2018-1339 5.5 - Medium - April 25, 2018

A carefully crafted (or fuzzed) file can trigger an infinite loop in Apache Tika's ChmParser in versions of Apache Tika before 1.18.

Infinite Loop

A carefully crafted (or fuzzed) file

CVE-2018-1338 5.5 - Medium - April 25, 2018

A carefully crafted (or fuzzed) file can trigger an infinite loop in Apache Tika's BPGParser in versions of Apache Tika before 1.18.

Infinite Loop

Apache Tika before 1.14 allows Java code execution for serialized objects embedded in MATLAB files

CVE-2016-6809 9.8 - Critical - April 06, 2017

Apache Tika before 1.14 allows Java code execution for serialized objects embedded in MATLAB files. The issue exists because Tika invokes JMatIO to do native deserialization.

Marshaling, Unmarshaling

Apache Tika server (aka tika-server) in Apache Tika 1.9 might

CVE-2015-3271 5.3 - Medium - December 15, 2016

Apache Tika server (aka tika-server) in Apache Tika 1.9 might allow remote attackers to read arbitrary files via the HTTP fileUrl header.

Information Disclosure

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Apache Tika or by Apache? Click the Watch button to subscribe.

Apache
Vendor

Apache Tika
Product

subscribe