MEDIUM 6.5 Maven
Deserialization of Untrusted Data in Spring AMQP
GHSA-945q-ch46-pchg · CVE-2021-22095
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
Ready to move
Start Securing
Free, no credit card | First findings in minutes