CVE-2013-4330: Improper Control of Generation of Code in Apache Camel

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

Summary

13/05/2022
Yes i
Moderate
Not published

CVE-2013-4330: Improper Control of Generation of Code in Apache Camel. Affects org.apache.camel:camel-core across 4 version ranges.

< 2.9.7 >= 2.10.0, < 2.10.7 >= 2.11.0, < 2.11.2 >= 2.12.0, < 2.12.1

Fixed in 4 releases; the minimum fixed version depends 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Camel is an open-source integration framework that provides a rule-based routing and mediation engine. It allows developers to easily connect different systems and applications using various protocols and technologies. Camel Core is the main module of Apache Camel, providing the core functionality and components for message routing and transformation. This vulnerability affects versions before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0.

Vulnerability Detail

The vulnerability in Apache Camel allows remote attackers to execute arbitrary simple language expressions by including "$simple{}" in a CamelFileName message header to a FILE or FTP producer. This can lead to unauthorized code execution and potential compromise of the affected system. The vulnerability is rated as MODERATE severity and has been assigned the Common Weakness Enumeration (CWE) ID CWE-94.

How To Fix

Latest published version: 4.23.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • < 2.9.7 2.9.7
  • >= 2.10.0, < 2.10.7 2.10.7
  • >= 2.11.0, < 2.11.2 2.11.2
  • >= 2.12.0, < 2.12.1 2.12.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 recommended to apply the fix by upgrading to the fixed versions of Apache Camel.

Conclusion

The vulnerability in Apache Camel allows remote code execution by exploiting a flaw in the handling of message headers. It is important to upgrade to the fixed versions of Apache Camel to mitigate the risk of unauthorized code execution and potential compromise of the affected system. For further support on vulnerability remediation, please 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 easily connect different systems and applications using various protocols and technologies.

This vulnerability allows remote attackers to execute arbitrary code by including malicious expressions in a message header. This can lead to unauthorized code execution and potential compromise of the affected system.

To fix this vulnerability, it is recommended to upgrade to the fixed versions of Apache Camel. Upgrade to version 2.9.7 if using versions before 2.9.7, upgrade to version 2.10.7 if using versions between 2.10.0 and 2.10.7, upgrade to version 2.11.2 if using versions between 2.11.0 and 2.11.2, and upgrade to version 2.12.1 if using version 2.12.0.

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

You can find more information about this vulnerability in the GitHub Advisory Database. Please refer to the provided source link for detailed information.

Related vulnerabilities

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

How To Fix

Latest published version: 4.23.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • < 2.9.7 2.9.7
  • >= 2.10.0, < 2.10.7 2.10.7
  • >= 2.11.0, < 2.11.2 2.11.2
  • >= 2.12.0, < 2.12.1 2.12.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