CVE-2018-8027: Apache Camel XXE in XSD Validation Processor

org.apache.camel:camel-core Updated 02 Oct 2025

Summary

16/10/2018
Yes i
Critical
9.8

CVE-2018-8027: Apache is vulnerable to XXE in XSD validation processor. Affects org.apache.camel:camel-core across 2 version ranges.

>= 2.20.0, < 2.20.4 >= 2.21.0, < 2.21.1

Fixed in 2.20.4 or 2.21.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Camel is an open-source integration framework that provides a rule-based routing and mediation engine. It allows developers to build applications using various protocols and technologies. The Apache Camel Core package is a fundamental component of Apache Camel, providing essential functionality for message routing and transformation. However, versions 2.20.0 to 2.20.3 and 2.21.0 of Apache Camel Core are vulnerable to an XML External Entity (XXE) attack in the XSD validation processor.

Vulnerability Detail

The XXE vulnerability in Apache Camel Core allows an attacker to exploit the XSD validation processor by providing a specially crafted XML input. This can lead to various security risks, including remote code execution, disclosure of internal files, and denial of service attacks. The vulnerability is rated as critical with a CVSS score of 9.8. It is identified by CVE-2018-8027 and tracked as GHSA-8vfm-4388-6rpc in the GitHub Security Advisory Database.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.20.0, < 2.20.4 2.20.4
  • >= 2.21.0, < 2.21.1 2.21.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the fixed versions of Apache Camel Core.

Conclusion

The XXE vulnerability in Apache Camel Core can have severe security implications, including remote code execution and disclosure of sensitive information. It is crucial to upgrade to the fixed versions of Apache Camel Core (2.20.4 or 2.21.1) to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.apache.camel:camel-core →

Share this vulnerability

FAQ

Apache Camel is an open-source integration framework that provides a rule-based routing and mediation engine. It allows developers to build applications using various protocols and technologies.

The Apache Camel Core package is a fundamental component of Apache Camel, providing essential functionality for message routing and transformation.

An XML External Entity (XXE) attack is a type of vulnerability that allows an attacker to exploit XML parsers by including external entities in the XML input. This can lead to various security risks, including remote code execution, disclosure of internal files, and denial of service attacks.

The CVSS score of this vulnerability is 9.8, which indicates a critical severity level.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the pom.xml file.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.camel:camel-core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.20.0, < 2.20.4 2.20.4
  • >= 2.21.0, < 2.21.1 2.21.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.