Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThe 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 body.
Users of affected versions should apply the following mitigation. 2.3.x users should upgrade to 2.3.12. 2.2.x users should upgrade to 2.2.20. No other steps are necessary. The toString() method now only converts the body if its length is 50 or fewer bytes. Releases that have fixed this issue include:
This issue was identified and responsibly reported by Vasily Kochnev.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy