CVE-2020-1951: Infinite Loop in Apache Tika
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.63323%
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-1951 explicitly mentions PSDParser
as the affected component, with an infinite loop caused by malformed PSD
files. The CWE-835
classification indicates a loop with an unreachable exit condition. While the exact code isn't shown, the PSDParser
's parse
method is the entry point for processing PSD
files and would logically contain the loop structure responsible for iterating through file segments. The fix in version 1.24
likely added validation
checks for loop termination conditions when reading file metadata.