CVE-2022-30126: Regular expression denial of service in apache tika
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.82084%
CWE
Published
5/17/2022
Updated
8/24/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.tika:tika | maven | >= 2.0.0, < 2.4.0 | 2.4.0 |
org.apache.tika:tika | maven | >= 1.17, < 1.28.2 | 1.28.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from an inefficient regex pattern in StandardsText.java. The commit diff shows the regex was modified to add bounds (e.g., {1,10} and {0,10}) to quantifiers, directly addressing the ReDoS risk. The CVE description explicitly identifies this regex as the root cause, and the patch confirms the vulnerability was in this pattern definition. The StandardsExtractingContentHandler uses this regex, making it the entry point for exploitation.