Apache Camel security advisory
CVE-2024-22371
Exposure of sensitive data by by crafting a malicious EventFactory and providing a custom ExchangeCreatedEvent that exposes sensitive data
Description
The EventFactory class is vulnerable to temporary file information disclosure. Under specific conditions, it is possible to expose sensitive data
Mitigation
Users are recommended to upgrade to version 4.4.0, which fixes the issue. If users are on the 4.0.x LTS releases stream, then they are suggested to upgrade to 4.0.4. If users are on 3.x, they are suggested to move to 3.21.4 or 3.22.1
Credit
This issue was discovered by Otavio Rodolfo Piske from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-20305 refers to the various commits that resolved the issue, and have more details.