Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-30126 EUVD-2022-5214GHSA-rpjm-422r-95mh

Apache Tika Regular Expression Denial of Service in Standards Extractor

Published May 16, 2022 · Updated Aug 3, 2024 · Assigned by apache

Description

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

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tika Apache Tika – ≤ 1.28.1 —

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.

ReleasePackageFixed inAdvisory
Debian 11 tika No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tika No fix yet —
Ubuntu 26.04 LTS tika No fix yet —
Ubuntu 25.10 tika No fix yet —
Ubuntu 24.04 LTS tika No fix yet —
Ubuntu 18.04 LTS tika No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS tika No fix yet —
Ubuntu Pro 22.04 LTS tika 1.22-2ubuntu0.22.04.1~esm1 USN-7529-1
Ubuntu Pro 20.04 LTS tika 1.22-1ubuntu0.1~esm1 USN-7529-1
ReleasePackageFixed inAdvisory
SUSE Manager Server Module 4.2 tika-core 1.26-150300.4.3.1 SUSE-SU-2022:3310-1
SUSE Manager Server Module 4.1 tika-core 1.26-150200.3.8.1 SUSE-SU-2022:3311-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tika:tika-core >= 1.17, < 1.28.2 1.28.2 GHSA-rpjm-422r-95mh
Maven org.apache.tika:tika-core >= 2.0.0, < 2.4.0 2.4.0 GHSA-rpjm-422r-95mh

Advisories 6

References