CVE-2021-22095Vmware Spring Advanced Message Queuing Protocol
Medium 6.5
Follow: this CVE · Vmware · Vmware Spring Advanced Message Queuing Protocol We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Spring Advanced Message Queuing Protocol.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| vmware | spring_advanced_message_queuing_protocol | ≥ 2.2.0 < 2.2.19 |
| vmware | spring_advanced_message_queuing_protocol | ≥ 2.3.0 < 2.3.11 |
Official sources
References
Links published by the sources. Open them with care.
- tanzu.vmware.com Vendor Advisory