Spring Integration Redis queue endpoints use unrestricted Java deserialization by default. RedisQueueMessageDrivenEndpoint and RedisQueueInboundGateway deserialize data read from Redis lists, while RedisQueueOutboundGateway deserializes replies, using JdkSerializationRedisSerializer unless an application configures another serializer.
An attacker who can write crafted serialized data to a Redis list consumed by one of these endpoints can trigger deserialization of arbitrary classes. If a suitable gadget chain is present on the application's classpath, this can lead to remote code execution in the application process.
Applications are affected when they use one of these Redis queue endpoints with its default serializer and allow an untrusted or compromised client to write to the relevant Redis list.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub