CVE-2017-3159 · apache
CVE-2017-3159
Apache Camel's camel-snakeyaml component is vulnerable to Java object de-serialization vulnerability. De-serializing untrusted data can lead to security flaws.
Published 2017-03-07, last changed 2026-06-17. Weakness: CWE-502.
How to fix
Upgrade to a fixed version: org.apache.camel:camel-snakeyaml 2.17.5, 2.18.2 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in apache/camel by 20e2622610, 21c04b635c. Functions changed by the fix: isAllowAnyType, setAllowAnyType, getTypeFilters, setTypeFilters, configureSnakeDataFormat, getValue, setValue, getType, setType, SnakeYAMLDataFormat, marshal, unmarshal. Regression tests: components/camel-snakeyaml/src/test/java/org/apache/camel/component/snakeyaml/SnakeYAMLBlueprintTypeFilterTest.java, components/camel-snakeyaml/src/test/java/org/apache/camel/component/snakeyaml/SnakeYAMLSpringTest.java, components/camel-snakeyaml/src/test/java/org/apache/camel/component/snakeyaml/SnakeYAMLSpringTypeFilterTest.java, components/camel-snakeyaml/src/test/java/org/apache/camel/component/snakeyaml/SnakeYAMLTest.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-03-07 | Published |
| 2018-10-16 | Package advisory GHSA-hvpr-9cr6-q5v7 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 6.29% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-hvpr-9cr6-q5v7 | org.apache.camel:camel-snakeyaml (Maven) | 2.17.5 |
| GHSA-hvpr-9cr6-q5v7 | org.apache.camel:camel-snakeyaml (Maven) | 2.18.2 |
Also known as: GHSA-hvpr-9cr6-q5v7
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-133005 | 2026-12-03 | 8.8 | Apache Camel: Camel-Redis RedisAggregationRepository deserializes Redis values with Redisson's default Kryo5Codec without a class filter |
| CVE-2026-122029 | 2026-12-03 | 8.1 | Apache Camel: Camel-Hazelcast hazelcast-seda consumer unmarshals a DefaultExchangeHolder without the transferExchange gate |
| CVE-2026-121883 | 2026-12-03 | 8.1 | Apache Camel: Camel-Netty unmarshalls DefaultExchangeHolder without the transferExchange gate when using ObjectDecoder |
| CVE-2026-134135 | 2026-12-01 | 8.8 | Apache TinkerPop: gremlin-server: Unsafe Deserialization in GraphSON and GraphBinary |
| CVE-2026-120502 | 2026-11-24 | 7.5 | Apache Jena: Excess memory allocation from malicious Thrift data |
| CVE-2026-129448 KEV | 2026-11-17 | 9.8 | Apache Roller: Unauthenticated deserialization in the XML-RPC endpoint (releases before 6.1.5) |
| CVE-2026-71395 | 2026-11-11 | 9.8 | Apache XML Graphics FOP: CWE-502 unsafe deserialization in hyphenation loading |
| CVE-2026-123374 | 2026-11-11 | 9.8 | Apache Roller: Deserialization of untrusted data in weblog update ping responses |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-3159, or call /api/v1/vulnerabilities/CVE-2017-3159. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.