CVE-2021-22097
Deserialization of Untrusted Data in Spring AMQP
6.5
MEDIUM
CVSS 3.1
EPSS 0.43%
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.
How to fix CVE-2021-22097
To remediate CVE-2021-22097, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.19 or later
Is CVE-2021-22097 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 2.2.0, < 2.2.19
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |