SecurityContext

CVE-2021-22097: Spring AMQP - Insecure Deserialization

  • Cve: CVE-2021-22097
  • Name: Spring AMQP - Insecure Deserialization
  • Description: 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.
  • Impact: Attackers can cause a denial of service by triggering 100% CPU usage through malicious serialized objects.
  • Remediation: Update to the latest version of Spring AMQP where this issue is fixed.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs to send a malicious message and trigger toString()
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01071
  • Epss percentile: 0.6574
  • Assignee: [email protected]
  • Published at: 2021-10-28T16:15:08Z
  • Age in days: 1853
  • Modified at: 2026-06-17T03:36:37Z
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22097
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

References

UrlSourceTags
https://tanzu.vmware.com/security/cve-2021-22097nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
vmware:spring_advanced_message_queuing_protocol>= 2.3.0, <= 2.3.10; >= 2.2.0, <= 2.2.18nonvd/v1/products/vmware/spring_advanced_message_queuing_protocol

Projects

RepositoryLink kindsIndexedUrl
spring-projects/spring-amqpproductyes/v1/repositories/spring-projects/spring-amqp

Index

  • Repositories: 6
  • Repositories high signal: 4
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts