GHSA-945q-ch46-pchg
Deserialization of Untrusted Data in Spring AMQP
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.amqp:spring-amqp | >= 2.2.0, < 2.2.20 | 2.2.20 |
| Maven | org.springframework.amqp:spring-amqp | >= 2.3.0, < 2.3.11 | 2.3.11 |
Details
As written in the advisory (Markdown source, shown as plain text).
In Spring AMQP versions 2.2.0 - 2.2.19 and 2.3.0 - 2.3.11, the Spring AMQP Message object, in its toString() method, will create a new String object from the message body, regardless of its size. This can cause an OOM Error with a large message
References
External links from the advisory. They lead to third-party sites.