CVE-2021-22097: Deserialization of Untrusted Data in Spring AMQP
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68185%
CWE
Published
5/24/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.springframework.amqp:spring-amqp | maven | >= 2.2.0, <= 2.2.18 | 2.2.19 |
| org.springframework.amqp:spring-amqp | maven | >= 2.3.0, <= 2.3.10 | 2.3.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is directly related to the toString() method's behavior of deserializing the message body. The toString() method is likely overridden in a class such as org.springframework.amqp.core.Message. The precise identification of toString() as vulnerable is based on the vulnerability description.