ADVISORIES

Vulnerability

CVE-2021-22095

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

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Maven 1Ubuntu 1

Advisories

  • GHSA-945q-ch46-pchg

    Deserialization of Untrusted Data in Spring AMQP

    Moderate CVE-2021-22095 Maven Updated 15 May 2024
  • UBUNTU-CVE-2021-22095

    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…

    CVE-2021-22095 Ubuntu Updated 17 October 2026

References