Out-of-Memory Error Vulnerability in Spring AMQP Message toString() Method

Out-of-Memory Error Vulnerability in Spring AMQP Message toString() Method

CVE-2021-22095 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

Learn more about our Web Application Penetration Testing UK.