Vulnerabilities in pkg:maven/org.apache.camel/camel-castor
PACKAGECVE-2017-12634 is a CRITICAL (CVSS 9.8) camel-castor component vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Camel castor libraries in the Maven ecosystem. The issue involves camel-castor component in apache camel is vulnerable to java object de-serialisation. Remediation is available by upgrading affected packages to version 2.19.4, 2.20.1.
pkg:maven/org.apache.camel/camel-castor
Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-castor. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vf4q-8mr7-5c5c | CVE-2017-12634 | CRITICAL | Camel-castor component in Apache Camel is vulnerable to Java object de-serialisation |
CVE-2017-12634 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-12634
To remediate this vulnerability, upgrade all affected Camel castor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-castor</artifactId>
<version>2.19.4</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-castor</artifactId>
<version>2.20.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.camel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-12634, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.camel
Analyze the terminal output to locate any version of Camel castor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.19.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.camel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Camel castor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-12634 Affected Camel castor Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-castor
|
Maven |
≥ 2.0.0
< 2.19.4
|
2.19.4
|
|
org.apache.camel:camel-castor
|
Maven |
≥ 2.20.0
< 2.20.1
All 1 versions
2.20.0
|
2.20.1
|
References
Frequently Asked Questions
What is CVE-2017-12634?
Which Camel castor versions are affected?
What version fixes CVE-2017-12634?
Is camel-castor affected?
What is the CVSS score of CVE-2017-12634?
What CWE is associated with CVE-2017-12634?
How can I check Maven dependencies for CVE-2017-12634?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vf4q-8mr7-5c5c",
"modified" : "2023-12-13T13:42:09Z",
"published" : "2018-10-16T23:05:58Z",
"aliases" : [ "CVE-2017-12634" ],
"summary" : "Camel-castor component in Apache Camel is vulnerable to Java object de-serialisation",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-castor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.19.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-castor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.20.0"
}, {
"fixed" : "2.20.1"
} ]
} ],
"versions" : [ "2.20.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-12634"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/2ae645e90edff3bcc1b958cb53ddc5e60a7f49fd"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/573ebd3de810cc7e239f175e1d2d6993f1f2ad08"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/ad3c1ce9d8300c339cfa7d0f4a4dea691a947988"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/adc06a78f04c8d798709a5818104abe5a8ae4b38"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/bdff8f3f3583e4f14cdaf24f2037e0fbef252630"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/c613905e95a3dab87158d9526aea9439f2de9621"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0319"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-vf4q-8mr7-5c5c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-11929"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://camel.apache.org/security-advisories.data/CVE-2017-12634.txt.asc"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/101876"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:57:33Z",
"nvd_published_at" : null
}
}