VDB

CVE-2021-22095

CVE-2021-22095 PUBLISHED

Deserialization of Untrusted Data in Spring AMQP

Reported by vmware · Published November 30, 2021

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

Affected products

VendorProductVersions
n/aSpring AMQPSpring AMQP versions 2.2.X prior to 2.2.20 and 2.3.x prior to 2.3.12 .
n/aSpring AMQP2.2.X

Timeline

  • Nov 30, 2021 CVE Published
  • Nov 30, 2021 PoC Published
  • Dec 1, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22095
vulnetix vdb fixes CVE-2021-22095

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22095/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›