Skip to main content
← All vulnerabilities
CVE-2021-22097GHSA-FX7F-RJQJ-52PJ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.19, 2.3.11
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a Spring AMQP

    Version range not reported

  • org.springframework.amqp:spring-amqpMaven

    From 2.2.0 · fixed in 2.2.19

  • org.springframework.amqp:spring-amqpMaven

    From 2.3.0 · fixed in 2.3.11

References 1

tanzu.vmware.com