GitHub Advisory Database
GHSA-fx7f-rjqj-52pj
Deserialization of Untrusted Data in Spring AMQP
Details
In Spring AMQP versions 2.2.0 - 2.2.18 and 2.3.0 - 2.3.10, the Spring AMQP Message object, in its toString() method, will deserialize a body for a message with content type application/x-java-serialized-object. It is possible to construct a malicious java.util.Dictionary object that can cause 100% CPU usage in the application if the toString() method is called.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.amqp:spring-amqp | From 2.2.0 before 2.2.19 (fixed in 2.2.19) |
| Maven | org.springframework.amqp:spring-amqp | From 2.3.0 before 2.3.11 (fixed in 2.3.11) |