MEDIUM
GHSA-mhx2-r3jx-g94c
Apache Camel allows remote actor to read arbitrary files via external entity in invalid XML string or GenericFile object
Quick fix
GHSA-mhx2-r3jx-g94c — org.apache.camel:camel-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.13.4</version> for org.apache.camel:camel-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.camel:camel-core
Introduced in:
0Fixed in: 2.13.4Fix
# pom.xml: bump <version>2.13.4</version> for org.apache.camel:camel-coreMaven/org.apache.camel:camel-core
Introduced in:
2.14.0Fixed in: 2.14.2Fix
# pom.xml: bump <version>2.14.2</version> for org.apache.camel:camel-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2015-0264[ADVISORY]
- https://github.com/apache/camel/commit/7360aada5154434c68774aa30e0f21ddc5f27b9f[WEB]
- https://github.com/apache/camel/commit/b47b51a195b38e7ab7c099d19910af70a16638f6[WEB]
- https://camel.apache.org/security-advisories.data/CVE-2015-0264.txt.asc[WEB]
- https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commitdiff;h=1df559649a96a1ca0368373387e542f46e4820da[WEB]
- https://github.com/advisories/GHSA-mhx2-r3jx-g94c[ADVISORY]
- https://github.com/apache/camel[PACKAGE]
- https://issues.apache.org/jira/browse/CAMEL-8312[WEB]
- https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E[WEB]
- http://rhn.redhat.com/errata/RHSA-2015-1041.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2015-1538.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2015-1539.html[WEB]
- http://securitytracker.com/id/1032442[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.apache.camel/camel-core"]}'