Vulnerability · Published May 16, 2022 · Assigned by apache
CVE-2022-30126Apache Tika Regular Expression Denial of Service in Standards Extractor
Medium 5.5
In plain English
A medium-severity security flaw in Apache Tika from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)2.6%top 14.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.tika:tika-core | 1.28.2 | GHSA-rpjm-422r-95mh |
| Maven | org.apache.tika:tika-core | 2.4.0 | GHSA-rpjm-422r-95mh |
| Ubuntu:24.04:LTS | tika | no fix listed | UBUNTU-CVE-2022-30126 |
| Ubuntu:25.10 | tika | no fix listed | UBUNTU-CVE-2022-30126 |
| Ubuntu:26.04:LTS | tika | no fix listed | UBUNTU-CVE-2022-30126 |
| Ubuntu:26.10 | tika | no fix listed | UBUNTU-CVE-2022-30126 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tika | Apache Tika – through 1.28.1 |
References
- https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4 x_refsource_MISC
- [oss-security] 20220516 CVE-2022-30126: Apache Tika Regular Expression Denial of Service in Standards Extractor mailing-list, x_refsource_MLIST
- [oss-security] 20220531 CVE-2022-30973: Apache Tika: Missing fix for CVE-2022-30126 in 1.28.2 mailing-list, x_refsource_MLIST
- [oss-security] 20220627 CVE-2022-33879: Apache Tika: Incomplete fix and new regex DoS in StandardsExtractingContentHandler mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220624-0004/ x_refsource_CONFIRM