CVE-2021-22095 Deserialization of Untrusted Data in Spring AMQP
MediumCVSS 6.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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
Upgrade path
10 packages: 2 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/spring(Ubuntu 16.04) | = 100.0+dfsg-2; = 100.0+dfsg-2build1; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 18.04) | = 103.0+dfsg2-1; = 103.0+dfsg2-1build1; = 104.0+dfsg-2; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 20.04) | = 104.0+dfsg-3build2; = 104.0+dfsg-4ubuntu1; = 104.0+dfsg-4ubuntu2; = 104.0+dfsg-4ubuntu5 +3 more | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 22.04) | = 105.0.1+dfsg-2; = 105.0.1+dfsg-3ubuntu1; = 105.0.1+dfsg-3ubuntu2; = 105.0.1+dfsg-4 +1 more | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 24.04) | = 106.0+dfsg-2; = 106.0+dfsg-3; = 106.0+dfsg-3build2; = 106.0+dfsg-3build3 +1 more | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 25.10) | = 106.0+dfsg-4; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 26.04) | = 106.0+dfsg-4; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 26.10) | = 106.0+dfsg-4; = 106.0+dfsg-5; All versions | No fix listed | No fix yet |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.0.RELEASE; = 2.2.1.RELEASE; = 2.2.2.RELEASE; = 2.2.3.RELEASE +31 more | 2.2.20, 2.3.11 | Fixed |
| VMware spring advanced message queuing protocol | >= 2.2.0, < 2.2.19; >= 2.3.0, < 2.3.11 | 2.2.19, 2.3.11 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.amqp/spring-amqp(Maven) | >= 2.2.0, < 2.2.20 | 2.2.20 |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.0.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.1.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.10.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.11.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.12.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.13.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.14.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.15.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.16.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.17.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.18.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.19.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.2.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.3.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.4.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.5.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.6.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.7.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.8.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.2.9.RELEASE | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | >= 2.3.0, < 2.3.11 | 2.3.11 |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.0 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.1 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.10 | No fix listed |
Show 43 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.2 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.3 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.4 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.5 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.6 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.7 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.8 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | = 2.3.9 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | >= 2.3.0, <= 2.3.10 | No fix listed |
| org.springframework.amqp/spring-amqp(Maven) | >= 2.2.0, <= 2.2.19 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | All versions | No fix listed |
| VMware spring advanced message queuing protocol | >= 2.2.0, < 2.2.19 | 2.2.19 |
| VMware spring advanced message queuing protocol | >= 2.3.0, < 2.3.11 | 2.3.11 |
| ubuntu/spring(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:16.04) | = 100.0+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:16.04) | = 100.0+dfsg-2build1 | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | = 103.0+dfsg2-1 | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | = 103.0+dfsg2-1build1 | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | = 104.0+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-3build2 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu1 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu2 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu5 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu6 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu7 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-3ubuntu1 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-3ubuntu2 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-4 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-3 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-3build2 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-3build3 | No fix listed |
| ubuntu/spring(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:25.10) | = 106.0+dfsg-4 | No fix listed |
| ubuntu/spring(Ubuntu:26.10) | = 106.0+dfsg-4 | No fix listed |
| ubuntu/spring(Ubuntu:26.10) | = 106.0+dfsg-5 | No fix listed |
| ubuntu/spring(Ubuntu:26.04) | = 106.0+dfsg-4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- tanzu.vmware.com issue-tracking vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking