MODERATE 6.5

CVE-2021-22097

Deserialization of Untrusted Data in Spring AMQP

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.amqp » spring-amqp
>= 2.2.0, < 2.2.19>= 2.3.0, < 2.3.11
2.2.19, 2.3.11

Blast radius

1affected artifacts
30affected versions
491dependent artifacts (est.)
8,023dependent versions

41% of the dependent artifacts (204) still pull an affected version in their latest release.

DepthDependent versions
Direct
104
2 hops
724
3 hops
2,602
4 hops
2,178
5 hops
1,580
6 hops
835

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webtanzu.vmware.com