{"id":"CVE-2021-22095","aliases":["GHSA-945q-ch46-pchg"],"url":"https://o3.security/vulnerability/CVE-2021-22095","summary":"Deserialization of Untrusted Data in Spring AMQP","details":"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","published":"2021-11-30T19:15:08.610Z","modified":"2026-07-08T22:15:04.791743Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.amqp:spring-amqp","fixedVersion":"2.2.20"},{"ecosystem":"Maven","name":"org.springframework.amqp:spring-amqp","fixedVersion":"2.3.11"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://tanzu.vmware.com/security/cve-2021-22097"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T22:15:04.791743Z"}}