Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.amqp/spring-amqp
  4. ›
  5. CVE-2021-22097

CVE-2021-22097: Deserialization of Untrusted Data

October 28, 2021 (updated November 1, 2021)

The Spring AMQP Message object’s 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-22097
  • tanzu.vmware.com/security/cve-2021-22097

Code Behaviors & Features

Detect and mitigate CVE-2021-22097 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.2.0 up to 2.2.18, all versions starting from 2.3.0 up to 2.3.10

Fixed versions

  • 2.2.19.RELEASE
  • 2.3.11

Solution

Upgrade to versions 2.2.19.RELEASE, 2.3.11 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.springframework.amqp/spring-amqp/CVE-2021-22097.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:35 +0000.