What’s Vulnerable › Vulnerabilities
CVE-2021-22097
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-28 · updated 2026-06-17
- Weakness: CWE-502
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.
Affected products
- Spring AMQP: from 2.2.0 through 2.2.18; from 2.3.0 through 2.3.10
- Spring AMQP: from Spring AMQP versions 2.2.X prior through 2.2.19 and 2.3.x prior to 2.3.11 .
References
Get alerted when CVE-2021-22097 or the next vulnerability affects your stack