Miggo Logo

CVE-2022-25169: Apache Tika vulnerable to uncontrolled memory consumption

5.5

CVSS Score
3.1

Basic Information

EPSS Score
0.2123%
Published
5/17/2022
Updated
1/31/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.tika:tikamaven< 1.28.21.28.2
org.apache.tika:tikamaven>= 2.0.0, < 2.4.02.4.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

T** *P* p*rs*r in v*rsions o* *p**** Tik* ***or* *.**.* *n* *.*.* m*y *llo**t* *n unr**son**l* *mount o* m*mory on **r**ully *r**t** *il*s.

Reasoning

T** vuln*r**ility sp**i*i**lly *****ts *p**** Tik*'s *P* p*rs*r (*V*-****-*****). T** *W*-***/*** *l*ssi*i**tion in*i**t*s un*ontroll** m*mory *llo**tion *urin* *il* p*rsin*. W*il* *x**t *o** isn't *v*il**l*, t** `*P*P*rs*r.p*rs*` m*t*o* woul* ** r*s