VDB
Sign up
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-core

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.

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.4
Fix# pom.xml: bump <version>2.13.4</version> for org.apache.camel:camel-core
Maven/org.apache.camel:camel-core
Introduced in: 2.14.0Fixed in: 2.14.2
Fix# pom.xml: bump <version>2.14.2</version> for org.apache.camel:camel-core

References

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"]}'