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-2020-2166 Vulnerability in maven package de.taimos:pipeline-aws
CVE-2014-8110 Vulnerability in maven package org.apache.activemq:activemq-web-console
CVE-2020-6422 Vulnerability in maven package org.webjars.npm:electron
CVE-2020-11990 Vulnerability in npm package cordova-plugin-camera
CVE-2022-29040 Vulnerability in maven package org.jenkins-ci.plugins:git-parameter