{"id":"CVE-2021-22097","aliases":["CVE-2021-22097","GHSA-fx7f-rjqj-52pj"],"related":[],"kind":"vulnerability","state":"published","title":"Deserialization of Untrusted Data in Spring AMQP","summary":"In Spring AMQP versions 2.2.0 - 2.2.18 and 2.3.0 - 2.3.10, the Spring AMQP Message object, in its toString() method, will deserialize a body for a message with content type application/x-java-serialized-object. It is possible to construct a malicious java.util.Dictionary object that can cause 100% CPU usage in the application if the toString() method is called.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Spring AMQP versions 2.2.0 - 2.2.18 and 2.3.0 - 2.3.10, the Spring AMQP Message object, in its toString() method, will deserialize a body for a message with content type application/x-java-serialized-object. It is possible to construct a malicious java.util.Dictionary object that can cause 100% CPU usage in the application if the toString() method is called.","source":"cvelist"},{"lang":"es","text":"En Spring AMQP versiones 2.2.0 - 2.2.18 y 2.3.0 - 2.3.10, el objeto Spring AMQP Message, en su método toString(), deserializará un cuerpo para un mensaje con tipo de contenido application/x-java-serialized-object. Es posible construir un objeto java.util.Dictionary malicioso que puede causar un uso del 100% de la CPU en la aplicación si es llamado al método toString()","source":"nvd"}],"published":"2021-10-28T15:24:19.000Z","modified":"2026-06-17T03:36:37.760Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:C","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"Spring AMQP versions 2.2.X prior to 2.2.19 and 2.3.x prior to 2.3.11 .","status":"affected"}],"product":"Spring AMQP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.19"}],"ecosystem":"Maven","package":"org.springframework.amqp:spring-amqp","purl":"pkg:maven/org.springframework.amqp/spring-amqp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.11"}],"ecosystem":"Maven","package":"org.springframework.amqp:spring-amqp","purl":"pkg:maven/org.springframework.amqp/spring-amqp","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.2.0","lastAffected":"2.2.18"},{"status":"affected","introduced":"2.3.0","lastAffected":"2.3.10"}],"vendor":"vmware","product":"spring_advanced_message_queuing_protocol","cpe":"cpe:2.3:a:vmware:spring_advanced_message_queuing_protocol:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2021-22097","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22097","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22097","url":"https://www.cve.org/CVERecord?id=CVE-2021-22097","licence":"CVE Terms of Use","modified":"2024-08-03T18:30:24.007Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fx7f-rjqj-52pj","url":"https://github.com/advisories/GHSA-fx7f-rjqj-52pj","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:53.768Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22097","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22097","licence":"Public domain","modified":"2026-06-17T03:36:37.760Z"}],"updatedAt":"2026-11-25T22:58:05.261Z","epss":{"score":0.01071,"percentile":0.65826,"date":"2026-12-01T12:00:22.000Z"}}