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-2021-21348 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2017-7559 Vulnerability in maven package io.undertow:undertow-core
CVE-2019-10424 Vulnerability in maven package com.technicolor:eloyente
CVE-2022-36920 Vulnerability in maven package org.jenkins-ci.plugins:coverity
CVE-2023-35141 Vulnerability in maven package org.jenkins-ci.main:jenkins-core