{"cve":"CVE-2021-22095","nvd":{"published":"2021-11-30T19:15:08.610","modified":"2026-06-17T03:36:37.557","status":"Modified","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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-502"],"references":["https://tanzu.vmware.com/security/cve-2021-22097","https://tanzu.vmware.com/security/cve-2021-22097"],"products":["vmware:spring_advanced_message_queuing_protocol"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-22095","score":0.01052,"percentile":0.64364,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-945q-ch46-pchg","url":"https://osv.dev/vulnerability/GHSA-945q-ch46-pchg","summary":"Deserialization of Untrusted Data in Spring AMQP","modified":"2024-05-15T23:15:43.565681Z","packages":[{"ecosystem":"Maven","name":"org.springframework.amqp:spring-amqp","purl":"pkg:maven/org.springframework.amqp/spring-amqp","ranges":[">=2.2.0 <2.2.20"],"fixed":["2.2.20"]},{"ecosystem":"Maven","name":"org.springframework.amqp:spring-amqp","purl":"pkg:maven/org.springframework.amqp/spring-amqp","ranges":[">=2.3.0 <2.3.11"],"fixed":["2.3.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}