# CVE-2021-22097: Deserialization of Untrusted Data in Spring AMQP

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Published: 2021-10-28T15:24:19.000Z
- Modified: 2026-06-17T03:36:37.760Z
- Also known as: GHSA-fx7f-rjqj-52pj
- Weaknesses: CWE-502
- Assigned by: vmware

## Description

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.

(As written by CVE List.)

## Affected

- Spring AMQP: Spring AMQP versions 2.2.X prior to 2.2.19 and 2.3.x prior to 2.3.11 .
- org.springframework.amqp:spring-amqp (Maven): from 2.2.0 before 2.2.19; from 2.3.0 before 2.3.11
- vmware spring_advanced_message_queuing_protocol: from 2.2.0 up to 2.2.18; from 2.3.0 up to 2.3.10

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:C`

## References

- <https://tanzu.vmware.com/security/cve-2021-22097> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22097> (advisory)

## Sources

- CVE List: [CVE-2021-22097](https://www.cve.org/CVERecord?id=CVE-2021-22097), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-fx7f-rjqj-52pj](https://github.com/advisories/GHSA-fx7f-rjqj-52pj), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-22097](https://nvd.nist.gov/vuln/detail/CVE-2021-22097), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22097 · Whole record: https://cve.day/CVE-2021-22097.json · Rebuilt by cve.day 2026-11-25T22:58:05.261Z
