Vulnerability · Published Oct 24, 2023 · Assigned by GitHub_M

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

Medium 4.9

In plain English

A medium-severity uncontrolled resource consumption in rabbitmq-java-client from rabbitmq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)1.3%top 28.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rabbitmq-java-clientno fix listedDEBIAN-CVE-2023-46120
Debian:13rabbitmq-java-clientno fix listedDEBIAN-CVE-2023-46120
Mavencom.rabbitmq:amqp-client5.18.0GHSA-mm8h-8587-p46h
Ubuntu:22.04:LTSrabbitmq-java-clientno fix listedUBUNTU-CVE-2023-46120
Ubuntu:24.04:LTSrabbitmq-java-clientno fix listedUBUNTU-CVE-2023-46120
Ubuntu:25.10rabbitmq-java-clientno fix listedUBUNTU-CVE-2023-46120
Ubuntu:26.04:LTSrabbitmq-java-clientno fix listedUBUNTU-CVE-2023-46120
Ubuntu:26.10rabbitmq-java-clientno fix listedUBUNTU-CVE-2023-46120

Affected products (as reported)

VendorProductVersions
rabbitmq rabbitmq-java-client < 5.18.0

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

References