CVE-2021-22095

MEDIUM
6.5
CVSS Score
Published: November 30, 2021 at 06:41 PM UTC
Updated: June 17, 2026 at 03:36 AM UTC
1 product affected across 1 vendorSpring Advanced Message Queuing Protocol

Using Spring AMQP by N/A?

Get instant alerts when new vulnerabilities affect Spring AMQP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.2.202.2.0 ≤ v < 2.2.192.3.0 ≤ v < 2.3.11
Affected range stops below 2.2.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.2.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.3.11, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-502

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card