Vulnerabilities in pkg:maven/org.apache.camel/camel-core
PACKAGECVE-2024-22371 is a LOW (CVSS 2.9) apache camel data exposure vulnerability vulnerability (CWE-922: Insecure Storage of Sensitive Information) affecting Camel core libraries in the Maven ecosystem. The issue involves apache camel data exposure vulnerability. Remediation is available by upgrading affected packages to version 3.21.4, 3.22.1, 4.0.4, 4.4.0.
pkg:maven/org.apache.camel/camel-core
Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qpxm-689r-3849 | CVE-2024-22371 | LOW | Apache Camel data exposure vulnerability |
| GHSA-vq9j-jh62-5hmp | CVE-2017-5643 | HIGH | Apache Camel's Validation Component is vulnerable against SSRF via remote DTDs and XXE. |
| GHSA-x9fv-c87w-55wc | CVE-2013-4330 | MODERATE | Improper Control of Generation of Code in Apache Camel |
| GHSA-h6rp-8v4j-hwph | CVE-2014-0003 | HIGH | Apache Camel's XSLT component allows remote attackers to execute arbitrary Java methods |
| GHSA-2fw5-rvf2-jq56 | CVE-2014-0002 | HIGH | Apache Camel's XSLT component allows remote attackers to read arbitrary files |
| GHSA-mhx2-r3jx-g94c | CVE-2015-0264 | MODERATE | Apache Camel allows remote actor to read arbitrary files via external entity in invalid XML string or GenericFile object |
| GHSA-8vfm-4388-6rpc | CVE-2018-8027 | CRITICAL | Apache is vulnerable to XXE in XSD validation processor |
| GHSA-3hrc-f439-727g | CVE-2015-0263 | MODERATE | Apache Camel XML External Entity vulnerability |
| GHSA-h896-mx9x-g32g | CVE-2019-0188 | HIGH | XML External Entity injection in Apache Camel |
| GHSA-4wjq-69rc-8wcp | CVE-2019-0194 | HIGH | Path Traversal in Apache Camel |
| GHSA-hfg5-xpvw-c9x4 | CVE-2020-11971 | HIGH | Improper Input Validation in Apache Camel |
CVE-2024-22371 at a Glance
Security Impact
CVSS: 2.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-22371
To remediate this vulnerability, upgrade all affected Camel core 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-core</artifactId>
<version>3.21.4</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>3.22.1</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>4.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>4.4.0</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-2024-22371, 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 core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.21.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-922: Insecure Storage of Sensitive Information, where the product stores sensitive information without properly limiting read or write access by unauthorized actors. In Camel core, 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-2024-22371 Affected Camel core Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-core
|
Maven |
≥ 3.0.0
< 3.21.4
|
3.21.4
|
|
org.apache.camel:camel-core
|
Maven |
≥ 3.22.0
< 3.22.1
All 1 versions
3.22.0
|
3.22.1
|
|
org.apache.camel:camel-core
|
Maven |
≥ 4.0.0
< 4.0.4
|
4.0.4
|
|
org.apache.camel:camel-core
|
Maven |
≥ 4.1.0
< 4.4.0
|
4.4.0
|
References
Frequently Asked Questions
What is CVE-2024-22371?
Which Camel core versions are affected?
What version fixes CVE-2024-22371?
Is camel-core affected?
What is the CVSS score of CVE-2024-22371?
What CWE is associated with CVE-2024-22371?
How can I check Maven dependencies for CVE-2024-22371?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qpxm-689r-3849",
"modified" : "2024-10-31T16:57:20Z",
"published" : "2024-02-26T18:30:30Z",
"aliases" : [ "CVE-2024-22371" ],
"summary" : "Apache Camel data exposure vulnerability",
"details" : "Exposure of sensitive data by by crafting a malicious EventFactory and providing a custom ExchangeCreatedEvent that exposes sensitive data. Vulnerability in Apache Camel. This issue affects Apache Camel: from 3.0.0 through 3.21.3, from 3.22.X through 3.22.0, from 4.0.X through 4.0.3, from 4.X through 4.3.0.\n\nUsers are recommended to upgrade to version 3.21.4, 3.22.1, 4.0.4 or 4.4.0, which fixes the issue.\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.21.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.22.0"
}, {
"fixed" : "3.22.1"
} ]
} ],
"versions" : [ "3.22.0" ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.0"
}, {
"fixed" : "4.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-22371"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2024-22371.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-20305"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-922" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-26T21:30:37Z",
"nvd_published_at" : "2024-02-26T16:27:56Z"
}
}