CVE-2020-1950: Uncontrolled Resource Consumption in Apache Tika
Summary
CVE-2020-1950: Uncontrolled Resource Consumption in Apache Tika. Affects org.apache.tika:tika versions >= 1.0, < 1.24. Fixed in 1.24. How to fix ↓
Also tracked for
- tika · Debian:11
The same CVE-2020-1950 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Tika is an open-source toolkit for detecting and extracting metadata and structured text content from various document formats. It is commonly used in applications that require content analysis or text extraction from files. This vulnerability affects versions 1.0 to 1.23 of the Apache Tika library. The library provides a PSDParser for parsing Adobe Photoshop Document (PSD) files.
Vulnerability Detail
A carefully crafted or corrupt PSD file can trigger excessive memory usage in Apache Tika's PSDParser. This vulnerability allows an attacker to cause a denial-of-service (DoS) condition by consuming excessive system resources. By exploiting this vulnerability, an attacker can potentially exhaust the available memory, leading to performance degradation or system failure. The vulnerability has a CVSS score of 5.5, indicating a moderate severity level.
How To Fix
Minimum fixed version
1.24
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is necessary to upgrade to the fixed version of Apache Tika to address the issue.
Conclusion
The vulnerability in Apache Tika's PSDParser can result in uncontrolled resource consumption, leading to a denial-of-service condition. It is crucial to upgrade to Apache Tika version 1.24 or later to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for org.apache.tika:tika →
FAQ
Apache Tika is an open-source toolkit for content analysis and text extraction from various document formats.
Versions 1.0 to 1.23 of Apache Tika are affected by this vulnerability.
This vulnerability can lead to excessive memory usage, causing performance degradation or system failure.
To fix this vulnerability, upgrade to Apache Tika version 1.24 or later.
No, there is no known workaround. Upgrading to the fixed version is necessary.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.tika:tika.