In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.
Start learningUpgrade org.springframework.integration:spring-integration-redis to version 7.0.8, 7.1.3 or higher.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the RedisQueueMessageDrivenEndpoint, RedisQueueInboundGateway, or RedisQueueOutboundGateway process when using the default JdkSerializationRedisSerializer. An attacker can achieve arbitrary code execution by writing crafted serialized data to a Redis list consumed by these endpoints if a suitable gadget chain is present on the application's classpath. This is only exploitable if the application uses the default serializer and allows untrusted or compromised clients to write to the relevant Redis list.
This vulnerability can be mitigated by configuring the affected Redis queue endpoints with a non-JDK serializer, such as a String or JSON serializer, and restricting write access to the consumed Redis lists to trusted producers.
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.