Live threats

All CVEs / Vmware

CVE-2021-22095Vmware Spring Advanced Message Queuing Protocol

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
Yes
Published
Nov 30, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring Advanced Message Queuing Protocol.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.springframework.amqp:spring-amqp ≥ 2.2.0 < 2.2.20 2.2.20 —
Maven org.springframework.amqp:spring-amqp ≥ 2.3.0 < 2.3.11 2.3.11 —

Per OSV / GitHub Advisories (GHSA-945q-ch46-pchg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vmwarespring_advanced_message_queuing_protocol≥ 2.2.0 < 2.2.19
vmwarespring_advanced_message_queuing_protocol≥ 2.3.0 < 2.3.11

Official sources

References

Links published by the sources. Open them with care.