Description
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. `maxBodyLebgth` was not used when receiving Message objects. Attackers could send a very large Message causing a memory overflow and triggering an OOM Error. Users of RabbitMQ may suffer from DoS attacks from RabbitMQ Java client which will ultimately exhaust the memory of the consumer. This vulnerability was patched in version 5.18.0.
Remediation
References
https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8
https://github.com/rabbitmq/rabbitmq-java-client/issues/1062
https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.18.0
https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-mm8h-8587-p46h
Related Vulnerabilities
CVE-2015-0250 Vulnerability in maven package org.apache.xmlgraphics:batik-transcoder
CVE-2016-1000342 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2023-30543 Vulnerability in npm package @web3-react/metamask
CVE-2023-26476 Vulnerability in maven package org.xwiki.platform:xwiki-platform-livetable-ui
CVE-2022-23223 Vulnerability in maven package org.apache.shenyu:shenyu-common