Improper Input Validation and Allocation of Resources Without Limits or Throttling in poi-scratchpadGHSA-mqvp-7rrg-9jxc
MEDIUMGHSA-mqvp-7rrg-9jxc is a medium-severity (CVSS 5.5) Improper Input Validation vulnerability in org.apache.poi:poi-scratchpad. A fix is available for org.apache.poi:poi-scratchpad — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.poi:poi-scratchpadReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
A shortcoming in the HMEF package of poi-scratchpad (Apache POI) allows an attacker to cause an Out of Memory exception. This package is used to read TNEF files (Microsoft Outlook and Microsoft Exchange Server). If an application uses poi-scratchpad to parse TNEF files and the application allows untrusted users to supply them, then a carefully crafted file can cause an Out of Memory exception. This issue affects poi-scratchpad version 5.2.0 and prior versions. Users are recommended to upgrade to poi-scratchpad 5.2.1.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.poi:poi-scratchpad | ≥ 3.8-beta1&&< 5.2.1 | 5.2.1org.apache.poi:poi-scratchpad:5.2.1 |
Affected Products
poiapacheactive iq unified managernetappDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.poi:poi-scratchpad, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.poi:poi-scratchpad to 5.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-mqvp-7rrg-9jxc is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Fuse 7.11 | poi-scratchpad | RHSA-2022:5532 |
Frequently Asked Questions
Is GHSA-mqvp-7rrg-9jxc in your dependencies?
Find it across Maven, including transitive dependencies.