All reports
Medium

Deserialization of Untrusted Data in Spring AMQP

Affected versions

Affected versions
>= 2.2.0, <= 2.2.19
Fixed version
2.2.20
Affected versions
>= 2.3.0, <= 2.3.10
Fixed version
2.3.11

Exploitation

CVE-2021-22095

Probability of exploitation in the next 30 days: 1.05%

FIRST EPSS · 2026-11-21

Description

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

Links

Credits

  • SunBK201