GitHub Advisoryadvisory · Maven

GHSA-fx7f-rjqj-52pj Deserialization of Untrusted Data in Spring AMQP

MEDIUM Published 2022-05-24 Modified 2022-06-22 Official page ↗
Aliases
CVE-2021-22097
Ecosystem
Maven
Packages
org.springframework.amqp:spring-amqp
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-502
Reviewed
2022-06-22

Affected packages

• Maven org.springframework.amqp:spring-amqp: >= 2.2.0, < 2.2.19 → fixed in 2.2.19 • Maven org.springframework.amqp:spring-amqp: >= 2.3.0, < 2.3.11 → fixed in 2.3.11

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.

Related

Alias · CVE (1)

  • CVE-2021-22097 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… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References