CVE-2014-3529: Poi Improper Restriction Of XML External Vulnerability

MODERATE
Advisory Identifier: GHSA-q56h-jjj6-52mf
CWE-611
Published
Advisory Summary

CVE-2014-3529 is a MODERATE improper restriction of xml external vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Poi libraries in the Maven ecosystem. The issue involves improper restriction of xml external entity reference in apache poi. Remediation is available by upgrading affected packages to version 3.10.1.

CVE-2014-3529 at a Glance

CVE Identifier CVE-2014-3529
GHSA Identifier GHSA-q56h-jjj6-52mf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Poi
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-3529

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.

org.apache.poi:poi fixed: 3.10.1
<dependency>
    <groupId>org.apache.poi</groupId>
    <artifactId>poi</artifactId>
    <version>3.10.1</version>
</dependency>
Verify Direct and Transitive Dependencies

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-3529, 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-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. 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

The OPC SAX setup in Apache POI before 3.10.1 allows remote attackers to read arbitrary files via an OpenXML file containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

CVE-2014-3529 Affected Poi Versions

1 component(s)
Fixed Versions:
3.10.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.poi:poi
Maven
< 3.10.1
3.10.1

References

NVD — CVE-2014-3529 NVD
https://nvd.nist.gov/vuln/detail/CVE-2014-3529
Security Fix Commit FIX COMMIT
https://github.com/apache/poi/commit/103b45073c7b504236588b3acc146530205af53c
Security Fix Commit FIX COMMIT
https://github.com/apache/poi/commit/236c3c52a9b90688b2e57ec503559409e29f33ed
Security Fix Commit FIX COMMIT
https://github.com/apache/poi/commit/6050a68d5adfb4ffef1edb778add09bcee32d1c3
Security Fix Commit FIX COMMIT
https://github.com/apache/poi/commit/d72bd78c19dfb7b57395a66ae8d9269d59a87bd2
Security Fix Commit FIX COMMIT
https://github.com/apache/poi/commit/eabb6a924be24abb879372d0bc967e0d316b2cf8
exchange.xforce.ibmcloud.com/vulnerabilities/957... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/95770
Poi Source Repository REPOSITORY
https://github.com/apache/poi
lucene.apache.org/solr/solrnews.html WEB
https://lucene.apache.org/solr/solrnews.html#18-august-2014-recommendation-to-update-apache-poi-in-apache-solr-480-481-and-490-installations
Poi Security Information SECURITY
http://poi.apache.org/changes.html
rhn.redhat.com/errata/rhsa-2014-13... WEB
http://rhn.redhat.com/errata/RHSA-2014-1370.html
rhn.redhat.com/errata/rhsa-2014-13... WEB
http://rhn.redhat.com/errata/RHSA-2014-1398.html
rhn.redhat.com/errata/rhsa-2014-13... WEB
http://rhn.redhat.com/errata/RHSA-2014-1399.html
rhn.redhat.com/errata/rhsa-2014-14... WEB
http://rhn.redhat.com/errata/RHSA-2014-1400.html
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21996759
www.apache.org/dist/poi/release/re... WEB
http://www.apache.org/dist/poi/release/RELEASE-NOTES.txt

Frequently Asked Questions

What is CVE-2014-3529?
CVE-2014-3529 is a security vulnerability in Poi involving Improper Restriction of XML External Entity Reference in Apache POI under CWE-611: Improper Restriction of XML External Entity Reference.
Which Poi versions are affected?
Affected versions include releases prior to 3.10.1 across affected packages: org.apache.poi:poi.
What version fixes CVE-2014-3529?
Upgrading to 3.10.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is poi affected?
Yes, org.apache.poi:poi is affected in releases prior to 3.10.1. Upgrade your dependency to 3.10.1 or later.
What CWE is associated with CVE-2014-3529?
CVE-2014-3529 is classified under CWE-611: Improper Restriction of XML External Entity Reference (The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.).
How can I check Maven dependencies for CVE-2014-3529?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.poi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q56h-jjj6-52mf",
  "modified" : "2024-04-16T16:27:05Z",
  "published" : "2022-05-17T01:24:40Z",
  "aliases" : [ "CVE-2014-3529" ],
  "summary" : "Improper Restriction of XML External Entity Reference in Apache POI",
  "details" : "The OPC SAX setup in Apache POI before 3.10.1 allows remote attackers to read arbitrary files via an OpenXML file containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.poi:poi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.10.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3529"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/poi/commit/103b45073c7b504236588b3acc146530205af53c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/poi/commit/236c3c52a9b90688b2e57ec503559409e29f33ed"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/poi/commit/6050a68d5adfb4ffef1edb778add09bcee32d1c3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/poi/commit/d72bd78c19dfb7b57395a66ae8d9269d59a87bd2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/poi/commit/eabb6a924be24abb879372d0bc967e0d316b2cf8"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/95770"
  }, {
    "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" : "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-611" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-07T22:42:15Z",
    "nvd_published_at" : "2014-09-04T17:55:00Z"
  }
}