CVE-2014-3574: Poi Improper Input Validation Vulnerability
MODERATECVE-2014-3574 is a MODERATE improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Poi libraries in the Maven ecosystem. The issue involves improper input validation in apache poi. Remediation is available by upgrading affected packages to version 3.10.1, 3.11-beta2.
CVE-2014-3574 at a Glance
How to Fix CVE-2014-3574
To remediate this vulnerability, upgrade all affected Poi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.10.1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.11-beta2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.poi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-3574, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.poi
Analyze the terminal output to locate any version of Poi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.10.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.poi command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Poi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-3574 Affected Poi Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.poi:poi
|
Maven |
< 3.10.1
|
3.10.1
|
|
org.apache.poi:poi
|
Maven |
≥ 3.11-beta1
< 3.11-beta2
All 1 versions
3.11-beta1
|
3.11-beta2
|
References
Frequently Asked Questions
What is CVE-2014-3574?
Which Poi versions are affected?
What version fixes CVE-2014-3574?
Is poi affected?
What CWE is associated with CVE-2014-3574?
How can I check Maven dependencies for CVE-2014-3574?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5wfp-8643-c58x",
"modified" : "2024-04-16T16:33:24Z",
"published" : "2022-05-17T01:24:36Z",
"aliases" : [ "CVE-2014-3574" ],
"summary" : "Improper Input Validation in Apache POI",
"details" : "Apache POI before 3.10.1 and 3.11.x before 3.11-beta2 allows remote attackers to cause a denial of service (CPU consumption and crash) via a crafted OOXML file, aka an XML Entity Expansion (XEE) attack.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.poi:poi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.10.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.poi:poi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.11-beta1"
}, {
"fixed" : "3.11-beta2"
} ]
} ],
"versions" : [ "3.11-beta1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3574"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/95768"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/poi"
}, {
"type" : "WEB",
"url" : "https://lucene.apache.org/solr/solrnews.html#18-august-2014-recommendation-to-update-apache-poi-in-apache-solr-480-481-and-490-installations"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/repos/asf/poi/branches/REL_3_10_BRANCH@1616509"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/repos/asf/poi/trunk@1615720"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/repos/asf/poi/trunk@1615731"
}, {
"type" : "WEB",
"url" : "https://svn.apache.org/repos/asf/poi/trunk@1615781"
}, {
"type" : "WEB",
"url" : "http://poi.apache.org/changes.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-1370.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-1398.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-1399.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-1400.html"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21996759"
}, {
"type" : "WEB",
"url" : "http://www.apache.org/dist/poi/release/RELEASE-NOTES.txt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T22:41:49Z",
"nvd_published_at" : "2014-09-04T17:55:00Z"
}
}