Skip to content
OpenAdvisories
Medium · 6.5 CVE-2021-22097 EUVD-2022-3851GHSA-fx7f-rjqj-52pj

Deserialization of Untrusted Data in Spring AMQP

Published Oct 28, 2021 · Updated Aug 3, 2024 · Assigned by vmware

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 products

VendorProductAffectedFixed
— Spring AMQP Spring AMQP versions 2.2.X prior to 2.2.19 and 2.3.x prior to 2.3.11 . —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.amqp:spring-amqp >= 2.2.0, < 2.2.19 2.2.19 GHSA-fx7f-rjqj-52pj
Maven org.springframework.amqp:spring-amqp >= 2.3.0, < 2.3.11 2.3.11 GHSA-fx7f-rjqj-52pj

References