CVE-2015-5348 Apache Camel can allow remote attackers to execute arbitrary commands

High 8.1 Published Updated

Remote attackers can execute arbitrary commands via crafted serialized Java objects when using specific Camel consumers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-5348?

CVE-2015-5348 is a high-severity unsafe deserialization vulnerability in Apache Camel, published on 15 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Camel 2.6.x through 2.14.x, 2.15.x before 2.15.5, and 2.16.x before 2.16.1, when using (1) camel-jetty or (2) camel-servlet as a consumer in Camel routes, allow remote attackers to execute arbitrary commands via a crafted serialized Java object in an HTTP request.

Weakness: CWE-19

Which versions are affected by CVE-2015-5348?

24 open source packages ship an affected version, including org.apache.camel:camel-ahc, org.apache.camel:camel-http and org.apache.camel:camel-http-common. It affects 1 product.

PackageAffectedFixed in
org.apache.camel:camel-ahc MavenAll versions2.15.5
org.apache.camel:camel-ahc MavenAll versions2.15.5
org.apache.camel:camel-ahc MavenFrom 2.16.02.16.1
org.apache.camel:camel-ahc MavenFrom 2.16.02.16.1
org.apache.camel:camel-http MavenAll versions2.15.5
org.apache.camel:camel-http MavenAll versions2.15.5
18 more packages
org.apache.camel:camel-http MavenFrom 2.16.02.16.1
org.apache.camel:camel-http MavenFrom 2.16.02.16.1
org.apache.camel:camel-http-common MavenAll versions2.15.5
org.apache.camel:camel-http-common MavenAll versions2.15.5
org.apache.camel:camel-http-common MavenFrom 2.16.02.16.1
org.apache.camel:camel-http-common MavenFrom 2.16.02.16.1
org.apache.camel:camel-http4 MavenAll versions2.15.5
org.apache.camel:camel-http4 MavenAll versions2.15.5
org.apache.camel:camel-http4 MavenFrom 2.16.02.16.1
org.apache.camel:camel-http4 MavenFrom 2.16.02.16.1
org.apache.camel:camel-jetty MavenAll versions2.15.5
org.apache.camel:camel-jetty MavenAll versions2.15.5
org.apache.camel:camel-jetty MavenFrom 2.16.02.16.1
org.apache.camel:camel-jetty MavenFrom 2.16.02.16.1
org.apache.camel:camel-servlet MavenAll versions2.15.5
org.apache.camel:camel-servlet MavenAll versions2.15.5
org.apache.camel:camel-servlet MavenFrom 2.16.02.16.1
org.apache.camel:camel-servlet MavenFrom 2.16.02.16.1

Products include Apache Camel.

How do I fix CVE-2015-5348?

Upgrade org.apache.camel:camel-ahc to a fixed version for your release line: 2.15.5 or 2.16.1.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2015-5348 being exploited?

There is no known exploitation of CVE-2015-5348 in the wild and no public exploit code.

All Apache Camel vulnerabilities

Sources

Also known as GHSA-26v6-w6fw-rh94.

Is CVE-2015-5348 in your software?

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

Check your SBOMs for free