CVEfocus › CVE database › CVE-2021-22095

CVE-2021-22095

CVSS 6.5 MediumEPSS 1.1% (higher than 64% of CVEs)Published 2021-11-30Updated 2024-08-03Assigner: vmware

In Spring AMQP versions 2.2.0 - 2.2.19 and 2.3.0 - 2.3.11, the Spring AMQP Message object, in its toString() method, will create a new String object from the message body, regardless of its size. This can cause an OOM Error with a large message

CWE-502

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
1Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10springFix pendingUBUNTU-CVE-2021-22095
Ubuntu 26.04springUnder investigationUBUNTU-CVE-2021-22095
Ubuntu 25.10springWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-22095
Ubuntu 24.04springUnder investigationUBUNTU-CVE-2021-22095
Ubuntu 22.04springUnder investigationUBUNTU-CVE-2021-22095
Ubuntu 20.04springWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-22095
Ubuntu 18.04springWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-22095
Ubuntu 16.04springWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-22095
Ubuntu 14.04springWill not fix
Ubuntu decided not to fix this in this release
Maven libraryorg.springframework.amqp:spring-amqpFixed2.3.11GHSA-945q-ch46-pchg

What the vendor says

As published in the CVE record by vmware, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.