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
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring AMQP | Spring AMQP versions 2.2.X prior to 2.2.20 and 2.3.x prior to 2.3.12 . |
References
- https://tanzu.vmware.com/security/cve-2021-22097Vendor Advisory
- https://tanzu.vmware.com/security/cve-2021-22097Vendor Advisory
Timeline
- Published
- Nov 30, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified