CVE-2022-26336: Improper Input Validation and Allocation of Resources Without Limits or Throttling in poi-scratchpad
Summary
CVE-2022-26336: Improper Input Validation and Allocation of Resources Without Limits or Throttling in poi-scratchpad. Affects org.apache.poi:poi-scratchpad versions >= 3.8-beta1, < 5.2.1. Fixed in 5.2.1. How to fix ↓
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
poi-scratchpad is a package in Apache POI that is used to read TNEF files, which are commonly used by Microsoft Outlook and Microsoft Exchange Server. It provides functionality to parse and process these files. However, a vulnerability in the HMEF package of poi-scratchpad allows an attacker to cause an Out of Memory exception. This vulnerability affects version 5.2.0 and prior versions of poi-scratchpad.
Vulnerability Detail
The vulnerability arises due to improper input validation and the allocation of resources without limits or throttling. If an application uses poi-scratchpad to parse TNEF files and allows untrusted users to supply them, a carefully crafted file can trigger an Out of Memory exception. This can potentially lead to denial of service or other security issues. The vulnerability has a CVSS score of 5.5.
How To Fix
Minimum fixed version
5.2.1
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 essential to upgrade to the fixed version of poi-scratchpad to mitigate the risk.
Conclusion
The vulnerability in poi-scratchpad can be mitigated by upgrading to version 5.2.1 or later. It is crucial to keep dependencies up to date to ensure the security of applications. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for org.apache.poi:poi-scratchpad →
FAQ
poi-scratchpad is a package in Apache POI that is used to read TNEF files.
The vulnerability can cause an Out of Memory exception, leading to denial of service or other security issues.
Version 5.2.0 and prior versions of poi-scratchpad are affected.
To fix this vulnerability, upgrade to poi-scratchpad version 5.2.1 or later.
No, there is no known workaround. Upgrading to the fixed version is necessary.