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
Remediation
References
https://tanzu.vmware.com/security/cve-2021-22097
Related Vulnerabilities
CVE-2012-0818 Vulnerability in maven package org.jboss.resteasy:resteasy-jaxb-provider
CVE-2020-6532 Vulnerability in npm package electron
CVE-2019-17555 Vulnerability in maven package org.apache.olingo:odata-lib
CVE-2021-26296 Vulnerability in maven package org.apache.myfaces.core:myfaces-core-project