CVE-2017-12634 Camel-castor component in Apache Camel is vulnerable to Java object de-serialisation

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
org.apache.camel:camel-castor MavenFrom 2.0.02.19.4
org.apache.camel:camel-castor MavenFrom 2.0.02.19.4
org.apache.camel:camel-castor MavenFrom 2.20.02.20.1
org.apache.camel:camel-castor MavenFrom 2.20.02.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.

All Apache Camel vulnerabilities

Sources

Also known as GHSA-vf4q-8mr7-5c5c.

Is CVE-2017-12634 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free