What’s Vulnerable › Vulnerabilities

CVE-2021-22095

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

Affected products

How to fix

Upgrade to a fixed version: Spring AMQP 2.2.19, 2.3.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-22095 or the next vulnerability affects your stack