CVE-2017-3159 Apache Camel's camel-snakeyaml component is vulnerable to Java object de-serialization

Critical 9.8 Published Updated

Attackers can execute arbitrary code by exploiting unsafe Java object deserialization in the Apache Camel SnakeYAML 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-3159?

CVE-2017-3159 is a critical unsafe deserialization vulnerability in Apache Camel, published on 7 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Camel's camel-snakeyaml component is vulnerable to Java object de-serialization vulnerability. De-serializing untrusted data can lead to security flaws.

Weakness: CWE-502

Which versions are affected by CVE-2017-3159?

4 open source packages ship an affected version, including org.apache.camel:camel-snakeyaml. It affects 1 product.

PackageAffectedFixed in
org.apache.camel:camel-snakeyaml MavenAll versions2.17.5
org.apache.camel:camel-snakeyaml MavenAll versions2.17.5
org.apache.camel:camel-snakeyaml MavenFrom 2.18.02.18.2
org.apache.camel:camel-snakeyaml MavenFrom 2.18.02.18.2

Products include Apache Camel.

How do I fix CVE-2017-3159?

Upgrade org.apache.camel:camel-snakeyaml to a fixed version for your release line: 2.17.5 or 2.18.2.

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

Is CVE-2017-3159 being exploited?

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

All Apache Camel vulnerabilities

Sources

Also known as GHSA-hvpr-9cr6-q5v7.

Is CVE-2017-3159 in your software?

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

Check your SBOMs for free