CVE-2017-12634: Apache Camel-castor Component Java Object De-serialization Vulnerability

Summary

16/10/2018
Yes i
Critical
9.8

CVE-2017-12634: Camel-castor component in Apache Camel is vulnerable to Java object de-serialisation. Affects org.apache.camel:camel-castor across 2 version ranges.

>= 2.0.0, < 2.19.4 >= 2.20.0, < 2.20.1

Fixed in 2.19.4 or 2.20.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

The Apache Camel-castor component is a part of the Apache Camel framework, which is an open-source integration framework that provides a rule-based routing and mediation engine. It allows developers to integrate different systems using various protocols and data formats. The camel-castor component specifically provides support for converting XML data to Java objects using the Castor library. However, versions of Apache Camel prior to 2.19.4 and 2.20.x before 2.20.1 are vulnerable to a Java object de-serialization vulnerability.

Vulnerability Detail

The vulnerability in the camel-castor component arises from the insecure deserialization of untrusted data. When untrusted data is deserialized, it can lead to security flaws, including remote code execution and arbitrary object creation. An attacker could exploit this vulnerability by sending maliciously crafted data to a Camel application that uses the camel-castor component, potentially compromising the integrity, confidentiality, and availability of the system.

How To Fix

Fixed versions by release line

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

  • >= 2.0.0, < 2.19.4 2.19.4
  • >= 2.20.0, < 2.20.1 2.20.1

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

Workaround

As a temporary workaround, if upgrading to the fixed versions is not immediately possible, developers can consider disabling or removing the camel-castor component from their Camel applications. This can be achieved by excluding the camel-castor dependency from the project's build configuration. However, this workaround should only be considered as a temporary measure until the component can be updated to a secure version.

Conclusion

The Apache Camel-castor component in versions prior to 2.19.4 and 2.20.x before 2.20.1 is vulnerable to a Java object de-serialization vulnerability. It is crucial to upgrade to the fixed versions or consider temporary workarounds to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

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

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 integrate different systems using various protocols and data formats.

The camel-castor component is a part of Apache Camel that provides support for converting XML data to Java objects using the Castor library.

Java object deserialization is the process of converting a serialized object back into its original form, allowing it to be used in a Java application. It is commonly used for data persistence and inter-process communication.

The vulnerability in the camel-castor component can lead to security flaws, including remote code execution and arbitrary object creation. An attacker could exploit this vulnerability to compromise the integrity, confidentiality, and availability of the system.

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 in software using just the pom.xml file, without requiring access to the code or installation.

How To Fix

Fixed versions by release line

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

  • >= 2.0.0, < 2.19.4 2.19.4
  • >= 2.20.0, < 2.20.1 2.20.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