CVE-2017-3159 Apache Camel's camel-snakeyaml component is vulnerable to Java object de-serialization
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.camel:camel-snakeyaml Maven | All versions | 2.17.5 |
org.apache.camel:camel-snakeyaml Maven | All versions | 2.17.5 |
org.apache.camel:camel-snakeyaml Maven | From 2.18.0 | 2.18.2 |
org.apache.camel:camel-snakeyaml Maven | From 2.18.0 | 2.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.
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-hvpr-9cr6-q5v7.