Apache Camel: Camel-Redis RedisAggregationRepository deserializes Redis values with Redisson's default Kryo5Codec without a class filter
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Camel | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache | Apache Camel |
|
||||||||||||||||
| Apache | Camel |
|
Vendor Solution
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.4% (1.372% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Apache
Apache apache Camel Apache camel |
|
| Vendors & Products |
Apache
Apache apache Camel Apache camel |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Deserialization of Untrusted Data vulnerability in Apache Camel Redis component. This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0. camel-redis RedisAggregationRepository.doStart() built its Redisson client without setting a codec, so Redisson installed Kryo5Codec with registration not required and a JavaSerializer registered for Throwable, and every value the repository read back from Redis (at route start-up, from the aggregation interval task, and during recovery) was deserialized through unrestricted Kryo instantiation and an unfiltered ObjectInputStream, even with useRecovery=false. An attacker able to write to the Redis store used as the aggregation repository could place a crafted serialized value that leads to remote code execution when a usable gadget chain is present on the classpath. The fixed releases apply a class allow-list to the codec and an ObjectInputFilter on the Java-serialization path. Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. | |
| Title | Apache Camel: Camel-Redis RedisAggregationRepository deserializes Redis values with Redisson's default Kryo5Codec without a class filter | |
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
cvssV3_1
|