CVE-2017-12634 Camel-castor component in Apache Camel is vulnerable to Java object de-serialisation
Attackers can execute arbitrary code by exploiting unsafe Java object deserialization in the Apache Camel Castor component.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12634?
CVE-2017-12634 is a critical unsafe deserialization vulnerability in Apache Camel, published on 15 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-serialisation vulnerability. De-serializing untrusted data can lead to security flaws.
Weakness: CWE-502
Which versions are affected by CVE-2017-12634?
4 open source packages ship an affected version, including org.apache.camel:camel-castor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.camel:camel-castor Maven | From 2.0.0 | 2.19.4 |
org.apache.camel:camel-castor Maven | From 2.0.0 | 2.19.4 |
org.apache.camel:camel-castor Maven | From 2.20.0 | 2.20.1 |
org.apache.camel:camel-castor Maven | From 2.20.0 | 2.20.1 |
Products include Apache Camel.
How do I fix CVE-2017-12634?
Upgrade org.apache.camel:camel-castor to a fixed version for your release line: 2.19.4 or 2.20.1.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2017-12634 being exploited?
There is no known exploitation of CVE-2017-12634 in the wild and no public exploit code.
Other vulnerabilities in Apache Camel
- CVE-2026-33453 Apache camel-coap allows header injection that can lead to remote code execution
- CVE-2026-40453 Apache Camel has an incomplete fix for CVE-2025-27636
- CVE-2026-80351 Apache Camel K: Camel K Tenant repositories reach Maven execution inside operator pod
- CVE-2026-80352 Apache Camel K: Camel K Master trait serviceAccountName YAML injection lets CR author apply arbitrary objects
- CVE-2026-71300 Apache Camel: Camel-Atmosphere-Websocket: WebSocket dispatch header injection
Sources
Also known as GHSA-vf4q-8mr7-5c5c.