This vulnerability can be exploited remotely over the network, with administrator privileges, 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
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 initialized. The allow-list is copied by value into the internal converter only once, when the store is initialized. If addAllowedPatterns() is called after initialization, the new patterns are never applied. Because an empty allow-list permits every class, the store continues to deserialize arbitrary classes while the application believes it is restricted.
An attacker who can influence the serialized bytes stored in the backing MongoDB collection can cause an arbitrary Java class to be deserialized, which may lead to remote code execution through a gadget chain. Applications that configure the allow-list before the store is initialized are not affected.
Spring Integration Redis queue endpoints use unrestricted Java deserialization by default. RedisQueueMessageDrivenEndpoint and RedisQueueInboundGateway deserialize data read from Redis lists, while…
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.
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…