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-2018-20677 Vulnerability in maven package org.webjars:bootstrap-sass
CVE-2021-21277 Vulnerability in maven package org.webjars.npm:angular-expressions
CVE-2016-6652 Vulnerability in maven package org.springframework.data:spring-data-jpa
CVE-2020-13920 Vulnerability in maven package org.apache.activemq:activemq-core