CVE-2022-25169: Apache Tika vulnerable to uncontrolled memory consumption
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.2123%
CWE
Published
5/17/2022
Updated
1/31/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 | < 1.28.2 | 1.28.2 |
org.apache.tika:tika | maven | >= 2.0.0, < 2.4.0 | 2.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability specifically affects Apache Tika's BPG parser (CVE-2022-25169). The CWE-400/770 classification indicates uncontrolled memory allocation during file parsing. While exact code isn't available, the BPGParser.parse
method would be responsible for handling file input and metadata extraction. Attack vectors typically involve unchecked dimension values leading to oversized buffer allocations. The high confidence comes from the direct association between the vulnerability description, affected component (BPG parser), and common memory allocation patterns in image parsers.