Apache Camel security advisory: CVE-2024-22369

Severity

HIGH

Summary

Apache Camel: Camel-SQL: Unsafe Deserialization from JDBCAggregationRepository

Versions affected

From 3.0.0 before 3.21.4, from 3.22.0 before 3.22.1, from 4.0.0 before 4.0.4, from 4.1.0 before 4.4.0.

Versions fixed

3.21.4, 3.22.1, 4.0.4 and 4.4.0

Description

The Camel-SQL AggregationRepository is vulnerable to unsafe deserialization. Under specific conditions it is possible to deserialize malicious payload.

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-20303 refers to the various commits that resolved the issue, and have more details.

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 Ziyang Chen from HuaWei Open Source Management Center, Pingtao Wei from HuaWei Open Source Management Center (finder) and Haoran Zhi from HuaWei Open Source Management Center

References

PGP signed advisory data: CVE-2024-22369.txt.asc
Mitre CVE Entry: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22369