CVE-2014-0107: Xalan Improper Authorization Vulnerability
HIGHCVE-2014-0107 is a HIGH improper authorization vulnerability (CWE-285: Improper Authorization) affecting Xalan libraries in the Maven ecosystem. The issue involves improper authorization in apache xalan-java. Remediation is available by upgrading affected packages to version 2.7.2.
CVE-2014-0107 at a Glance
How to Fix CVE-2014-0107
To remediate this vulnerability, upgrade all affected Xalan 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>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=xalan
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-0107, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=xalan
Analyze the terminal output to locate any version of Xalan in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=xalan 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Xalan, 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-0107 Affected Xalan Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
xalan:xalan
|
Maven |
< 2.7.2
|
2.7.2
|
References
Frequently Asked Questions
What is CVE-2014-0107?
Which Xalan versions are affected?
What version fixes CVE-2014-0107?
Is xalan affected?
What CWE is associated with CVE-2014-0107?
How can I check Maven dependencies for CVE-2014-0107?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rc2w-r4jq-7pfx",
"modified" : "2025-04-13T23:22:02Z",
"published" : "2022-05-13T01:05:38Z",
"aliases" : [ "CVE-2014-0107" ],
"summary" : "Improper Authorization in Apache Xalan-Java",
"details" : "The TransformerFactory in Apache Xalan-Java before 2.7.2 does not properly restrict access to certain properties when FEATURE_SECURE_PROCESSING is enabled, which allows remote attackers to bypass expected restrictions and load arbitrary classes or access external resources via a crafted (1) xalan:content-header, (2) xalan:entities, (3) xslt:content-header, or (4) xslt:entities property, or a Java property that is bound to the XSLT 1.0 system-property function.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "xalan:xalan"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0107"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/92023"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/xalan-java"
}, {
"type" : "WEB",
"url" : "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/XALANJ-2435"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r0c00afcab8f238562e27b3ae7b8af1913c62bc60838fb8b34c19e26b@%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r2900489bc665a2e32d021bb21f6ce2cb8e6bb5973490eebb9a346bca@%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/201604-02"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com//security-alerts/cpujul2021.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2021.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
}, {
"type" : "WEB",
"url" : "https://www.tenable.com/security/tns-2018-15"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-0348.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-1351.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1888.html"
}, {
"type" : "WEB",
"url" : "http://svn.apache.org/viewvc?view=revision&revision=1581058"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21674334"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21676093"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21677145"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21680703"
}, {
"type" : "WEB",
"url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21681933"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2014/dsa-2886"
}, {
"type" : "WEB",
"url" : "http://www.ibm.com/support/docview.wss?uid=swg21677967"
}, {
"type" : "WEB",
"url" : "http://www.ocert.org/advisories/ocert-2014-002.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T23:02:09Z",
"nvd_published_at" : "2014-04-15T23:13:00Z"
}
}