What’s Vulnerable › Vulnerabilities

CVE-2023-46120: RabbitMQ Java client's lack of message size limitation leads to remote DoS attack

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.

Affected products

How to fix

Upgrade to a fixed version: rabbitmq-java-client 5.18.0; Rabbitmq-Java-Client 5.18.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-46120 or the next vulnerability affects your stack