This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Special conditions are required for a successful attack, which makes exploitation harder.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
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.
By default, the FluxAggregatorMessageHandler derives the window size for a correlation group from the sequenceSize message header and passes it to the Reactor Flux.window(int) operator without any validation. A remote…
As a feature, Spring Cloud Function provides ability specify type via ‘type’ parameter of the content type. However it does not provide any guards against specifying system/platform classes.
MongoDbMessageStore exposes an addAllowedPatterns() API that restricts which classes may be deserialized from stored ErrorMessage payloads. Its Javadoc does not state that it must be called before the store is…
When Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git.ignoreLocalSshSettings=true ) for a Git repository and no spring.cloud.config.server.git.hostKey is configured, it…