CVE-2020-1950: Uncontrolled Resource Consumption in Apache Tika
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72277%
CWE
Published
5/7/2021
Updated
1/28/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.0, <= 1.23 | 1.24 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability (CVE-2020-1950) explicitly affects Apache Tika's PSDParser
in versions 1.0-1.23. The CWE-400 classification indicates uncontrolled resource consumption, typically caused by parsing logic that fails to validate
input-driven memory allocation. The PSDParser
's parse()
method is the entry point for processing PSD files and would handle layer/data structure parsing. Without bounds checking on values like layer counts or image dimensions extracted from the file header, a malicious PSD could specify abnormally large values leading to memory exhaustion. The patch in version 1.24 likely added validation
checks in this critical parsing pathway.