camel-spring-redis is vulnerable to Deserialization of Untrusted Data
88
CVE Score
High
Deserialization of Untrusted Data
Before the fix, onMessage in camel-spring-redis deserialized every message published to a subscribed channel, and producer read commands such as GET, HGET, HGETALL and HVALS deserialized the values they read, with a default JdkSerializationRedisSerializer that installed no ObjectInputFilter, so any Redis client able to PUBLISH or write those keys could materialize an arbitrary serialized class graph on the Camel JVM. This applies when a spring-redis consumer SUBSCRIBE/PSUBSCRIBE route or a producer read command relies on the default serializer. The fix installs an ObjectInputFilter before readObject, using the JVM-wide jdk.serialFilter when present and otherwise a conservative default that denies java.net.* packages, so upgrading alone enables protection.
Upgrade the org.apache.camel:camel-spring-redis package to a fixed release on your branch: 4.18.5, 4.22.1.
You are affected if you are using a version that falls within the vulnerable range and run spring-redis consumer SUBSCRIBE/PSUBSCRIBE routes or producer read commands without a custom serializer, against a Redis server writable by other clients.
2.11.0 - 4.18.4
Fixed in 4.18.54.19.0 - 4.22.0
Fixed in 4.22.1camel-spring-redis is vulnerable to Deserialization of Untrusted Data in versions 2.11.0 - 4.18.4 and 4.19.0 - 4.22.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.