CVE-2024-22371 Apache Camel issue on ExchangeCreatedEvent

Low 2.9 Published Updated

Attackers can expose sensitive data by crafting a malicious EventFactory and custom ExchangeCreatedEvent in Apache Camel.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-22371?

CVE-2024-22371 is a low-severity vulnerability in Apache Camel, published on 26 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-922

Which versions are affected by CVE-2024-22371?

8 open source packages ship an affected version, including org.apache.camel:camel-core. It affects 1 product.

PackageAffectedFixed in
org.apache.camel:camel-core MavenFrom 3.0.03.21.4
org.apache.camel:camel-core MavenFrom 3.0.03.21.4
org.apache.camel:camel-core MavenFrom 3.22.03.22.1
org.apache.camel:camel-core MavenFrom 3.22.03.22.1
org.apache.camel:camel-core MavenFrom 4.0.04.0.4
org.apache.camel:camel-core MavenFrom 4.0.04.0.4
2 more packages
org.apache.camel:camel-core MavenFrom 4.1.04.4.0
org.apache.camel:camel-core MavenFrom 4.1.04.4.0

Products include Apache Camel.

How do I fix CVE-2024-22371?

Upgrade org.apache.camel:camel-core to a fixed version for your release line: 3.21.4, 3.22.1, 4.0.4 or 4.4.0.

Is CVE-2024-22371 being exploited?

There is no known exploitation of CVE-2024-22371 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Apache Camel vulnerabilities

Sources

Also known as GHSA-qpxm-689r-3849.

Is CVE-2024-22371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free