Medium

Deserialization of Untrusted Data in Spring AMQP

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:21

In Spring AMQP versions 2.2.0 - 2.2.18 and 2.3.0 - 2.3.10, the Spring AMQP Message object, in its toString() method, will deserialize a body for a message with content type application/x-java-serialized-object. It is possible to construct a malicious java.util.Dictionary object that can cause 100% CPU usage in the application if the toString() method is called.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework.amqp:spring-amqp >= 2.2.0, < 2.2.19, >= 2.3.0, < 2.3.11 2.2.19, 2.3.11

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-502
Platform
Java / Kotlin (Maven)
Package
org.springframework.amqp:spring-amqp
Disclosed
24.05.2022
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-fx7f-rjqj-52pj - CC BY 4.0

Vulnerability history: org.springframework.amqp:spring-amqp

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
10.2018 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • Medium 5

Disclosures per year

  1. 2018: 1
  2. 2019: 0
  3. 2020: 0
  4. 2021: 1
  5. 2022: 3
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 2
  1. Medium · 4.4 CVE-2026-41701 >= 4.0.0, < 4.0.4, >= 3.2.0, < 3.2.11, >= 3.1.0, <= 3.1.15, <= 2.4.17 4.0.4, 3.2.11
  2. Medium · 4.0 CVE-2026-41714 >= 4.0.0, < 4.0.4, >= 3.2.0, < 3.2.11, >= 3.1.0, <= 3.1.15, <= 2.4.17 4.0.4, 3.2.11
  3. Deserialization of Untrusted Data in Spring AMQP this entry
    Medium · 6.5 CVE-2021-22097 >= 2.2.0, < 2.2.19, >= 2.3.0, < 2.3.11 2.2.19, 2.3.11
  4. Critical · 9.8 CVE-2017-8045 < 1.5.7, >= 1.6.0, < 1.6.11, >= 1.7.0, < 1.7.4 1.5.7, 1.6.11, 1.7.4
  5. Critical · 9.8 CVE-2016-2173 < 1.5.5 1.5.5
  6. Medium · 6.5 CVE-2021-22095 >= 2.2.0, < 2.2.20, >= 2.3.0, < 2.3.11 2.2.20, 2.3.11

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.