CVE-2015-0264: Camel core Apache Camel Allows Remote Actor Vulnerability
MODERATECVE-2015-0264 is a MODERATE apache camel allows remote actor vulnerability (General Security Weakness) affecting Camel core libraries in the Maven ecosystem. The issue involves apache camel allows remote actor to read arbitrary files via external entity in invalid xml string or genericfile object. Remediation is available by upgrading affected packages to version 2.13.4, 2.14.2.
CVE-2015-0264 at a Glance
How to Fix CVE-2015-0264
To remediate this vulnerability, upgrade all affected Camel core 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.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.13.4</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.14.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=org.apache.camel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2015-0264, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.camel
Analyze the terminal output to locate any version of Camel core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.camel 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 General Security Weakness. In Camel core, 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-2015-0264 Affected Camel core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-core
|
Maven |
< 2.13.4
|
2.13.4
|
|
org.apache.camel:camel-core
|
Maven |
≥ 2.14.0
< 2.14.2
|
2.14.2
|
References
Frequently Asked Questions
What is CVE-2015-0264?
Which Camel core versions are affected?
What version fixes CVE-2015-0264?
Is camel-core affected?
What CWE is associated with CVE-2015-0264?
How can I check Maven dependencies for CVE-2015-0264?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mhx2-r3jx-g94c",
"modified" : "2022-11-17T19:39:36Z",
"published" : "2018-10-16T23:09:15Z",
"aliases" : [ "CVE-2015-0264" ],
"summary" : "Apache Camel allows remote actor to read arbitrary files via external entity in invalid XML string or GenericFile object",
"details" : "Multiple XML external entity (XXE) vulnerabilities in builder/xml/XPathBuilder.java in Apache Camel before 2.13.4 and 2.14.x before 2.14.2 allow remote attackers to read arbitrary files via an external entity in an invalid XML (1) String or (2) GenericFile object in an XPath query.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.13.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.14.0"
}, {
"fixed" : "2.14.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-0264"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/7360aada5154434c68774aa30e0f21ddc5f27b9f"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/b47b51a195b38e7ab7c099d19910af70a16638f6"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security-advisories.data/CVE-2015-0264.txt.asc"
}, {
"type" : "WEB",
"url" : "https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commitdiff;h=1df559649a96a1ca0368373387e542f46e4820da"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-mhx2-r3jx-g94c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-8312"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1041.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1538.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1539.html"
}, {
"type" : "WEB",
"url" : "http://securitytracker.com/id/1032442"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:46:27Z",
"nvd_published_at" : null
}
}