# CVE-2024-22371: Apache Camel issue on ExchangeCreatedEvent

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.9
- **CVSS:** 2.9 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **CWE:** CWE-922
- **Aliases:** GHSA-qpxm-689r-3849
- **Published:** 2024-02-26T09:22:38.384Z
- **Modified:** 2026-06-17T07:11:16.430Z

## Who should check

- Projects that depend on Maven package org.apache.camel:camel-core (\>= 3.0.0, \< 3.21.4)
- Anyone running Apache Software Foundation Apache Camel \>= 3.21.x, \<= 3.21.3; \>= 3.22.x, \<= 3.22.0; \>= 4.0.x, \<= 4.0.3; \>= 4.x, \<= 4.3.0

## Description

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.21.X 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.

Users are recommended to upgrade to version 3.21.4, 3.22.1, 4.0.4 or 4.4.0, which fixes the issue.

## Affected and fixed versions

- Maven `org.apache.camel:camel-core`: affected \>= 3.0.0, \< 3.21.4; fixed 3.21.4, 3.22.1, 4.0.4, 4.4.0 (osv)
- Apache Software Foundation Apache Camel: \>= 3.21.x, \<= 3.21.3; \>= 3.22.x, \<= 3.22.0; \>= 4.0.x, \<= 4.0.3; \>= 4.x, \<= 4.3.0 (cvelist)

## Mitigation

- Upgrade org.apache.camel:camel-core to one of 3.21.4, 3.22.1, 4.0.4, 4.4.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-22371. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-22371.md
Affected: org.apache.camel:camel-core >= 3.0.0, < 3.21.4
Fixed in: 3.21.4, 3.22.1, 4.0.4, 4.4.0

Steps:
1. Search this machine and project for org.apache.camel:camel-core (Maven), Apache Software Foundation Apache Camel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-22371 being exploited?

There is no confirmed exploitation: CVE-2024-22371 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-22371?

Low: CVSS 2.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-22371?

org.apache.camel:camel-core \>= 3.0.0, \< 3.21.4.

### Is there a fix for CVE-2024-22371?

Yes. Fixed in 3.21.4, 3.22.1, 4.0.4, 4.4.0. Upgrade org.apache.camel:camel-core to one of 3.21.4, 3.22.1, 4.0.4, 4.4.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-22371?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://camel.apache.org/security/CVE-2024-22371.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-22371>
- other: <https://github.com/apache/camel>
- other: <https://issues.apache.org/jira/browse/CAMEL-20305>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-22371>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qpxm-689r-3849> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-22371> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-22371>
