CVE-2012-0213: Denial of Service in Apache POI
Summary
CVE-2012-0213: Denial of Service in Apache POI. Affects org.apache.poi:poi versions < 3.10-beta1. Fixed in 3.10-beta1. 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
Apache POI is a Java library that provides support for reading and writing Microsoft Office file formats, including Word, Excel, and PowerPoint. It is widely used in various applications for manipulating Office documents. However, versions 3.8 and earlier of Apache POI are vulnerable to a Denial of Service (DoS) attack.
Vulnerability Detail
The vulnerability, identified as CVE-2012-0213, exists in the UnhandledDataStructure function within the hwpf/model/UnhandledDataStructure.java file of Apache POI. It allows remote attackers to trigger an OutOfMemoryError exception and potentially destabilize the Java Virtual Machine (JVM) by exploiting a crafted length value in a Channel Definition Format (CDF) or Compound File Binary Format (CFBF) document. This vulnerability can be exploited remotely, leading to a DoS condition and potential disruption of the affected application.
How To Fix
Minimum fixed version
3.10-beta1
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 apply the recommended fix by upgrading to a secure version of Apache POI.
Conclusion
The vulnerability in Apache POI versions 3.8 and earlier can lead to a Denial of Service condition and potential JVM destabilization. It is crucial to upgrade to Apache POI version 3.9 or later to mitigate this vulnerability. For additional assistance with vulnerability remediation, please reach out to DevNack.com.
See every vulnerability recorded for org.apache.poi:poi →
FAQ
Apache POI is a Java library for manipulating Microsoft Office file formats.
This vulnerability can be exploited remotely to cause a DoS condition and potentially destabilize the JVM.
Upgrade to Apache POI version 3.9 or later.
No, there is no known workaround for this vulnerability.
For further support on vulnerability remediation, you can contact info@devnack.com.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.poi:poi.