CVE-2021-22095

MEDIUM

Spring AMQP 2.2.0-2.2.19 and 2.3.0-2.3.11 - Denial of Service via Large Message Body Deserialization

Title source: llm
STIX 2.1

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

References (1)

Core 1
Core References
Vendor Advisory x_refsource_misc
https://tanzu.vmware.com/security/cve-2021-22097

Scores

CVSS v3 6.5
EPSS 0.0057
EPSS Percentile 68.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-502
Status published
Products (2)
org.springframework.amqp/spring-amqp 2.2.0 - 2.2.20Maven
vmware/spring_advanced_message_queuing_protocol 2.2.0 - 2.2.19
Published Nov 30, 2021
Tracked Since Feb 18, 2026