CVE-2021-22097
JSON

6.5medium

Deserialization of Untrusted Data in Spring AMQP

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
1.07% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-fx7f-rjqj-52pj

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.

Affected

Product or packageVersionsReported by
Spring AMQPSpring AMQP versions 2.2.X prior to 2.2.19 and 2.3.x prior to 2.3.11 .CVE List
org.springframework.amqp:spring-amqp (Maven)from 2.2.0 before 2.2.19, from 2.3.0 before 2.3.11GitHub Advisory Database
vmware spring_advanced_message_queuing_protocolfrom 2.2.0 up to 2.2.18, from 2.3.0 up to 2.3.10NVD

All scores

GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD6.8medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:N/A:C

Classification

What each source says

CVE List

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.

NVD (es)

En Spring AMQP versiones 2.2.0 - 2.2.18 y 2.3.0 - 2.3.10, el objeto Spring AMQP Message, en su método toString(), deserializará un cuerpo para un mensaje con tipo de contenido application/x-java-serialized-object. Es posible construir un objeto java.util.Dictionary malicioso que puede causar un uso del 100% de la CPU en la aplicación si es llamado al método toString()

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22097 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-fx7f-rjqj-52pj changed 2023-11-08CC-BY-4.0
NVDCVE-2021-22097 changed 2026-06-17Public domain