{"id":"CVE-2023-46120","published":"2023-10-24T23:05:24Z","modified":"2024-09-11T13:20:34Z","title":"RabbitMQ Java client's lack of message size limitation leads to remote DoS attack","vendor":"rabbitmq","product":"rabbitmq-java-client","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01149,"percentile":0.66622,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-mm8h-8587-p46h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/issues/1062","tags":["x_refsource_MISC"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8","tags":["x_refsource_MISC"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.18.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":13.32},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"rabbitmq","affectedVersions":[{"vendor":"rabbitmq","product":"rabbitmq-java-client","versions":["< 5.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-11T13:10:31.256070Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.rabbitmq:amqp-client","vulnerableRanges":["<5.18.0"],"patched":["5.18.0"],"from":["GHSA-mm8h-8587-p46h"],"provenance":"source"}],"summary":{"text":"The RabbitMQ Java client library, used by Java and JVM-based applications to connect to RabbitMQ nodes, fails to enforce the maxBodyLength limit when receiving Message objects. An attacker who can send a very large message to a consumer, with high privileges required and no user interaction, can cause a memory overflow and exhaust the consumer's memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:03Z"},"euvd":{"id":"EUVD-2023-2776","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rabbitmq-java-client-cve-2023-46120","children":[{"from":"CVE-2023-46120","to":"CVE-2026-61634","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/rabbitmq/client/impl/AMQConnection.java","src/main/java/com/rabbitmq/client/impl/SocketFrameHandler.java"],"commits":["https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8","https://github.com/rabbitmq/rabbitmq-java-client/commit/08790f09686173eb17b48d08a25edcb32e71a591","https://github.com/rabbitmq/rabbitmq-java-client/commit/b491075f42e89967610c40beded68d3680cfd472"],"basis":"shared function","functions":["SocketFrameHandler","initialize"]}]},{"from":"CVE-2023-46120","to":"CVE-2026-63335","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/rabbitmq/client/impl/AMQConnection.java","src/main/java/com/rabbitmq/client/impl/CommandAssembler.java"],"commits":["https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8","https://github.com/rabbitmq/rabbitmq-java-client/commit/31735344d9f9dfc53740b67f06e560e8846b9322","https://github.com/rabbitmq/rabbitmq-java-client/commit/abd6d60d4e2bfc1a327dc90ab246b2e8aca1f33b"],"basis":"shared function","functions":["AMQConnection"]}]},{"from":"CVE-2023-46120","to":"CVE-2026-63336","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/rabbitmq/client/ConnectionFactory.java"],"commits":["https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8","https://github.com/rabbitmq/rabbitmq-java-client/commit/1e7deb2e6020c9793a81385a53ea378ec63b9339","https://github.com/rabbitmq/rabbitmq-java-client/commit/a4bf571dd368765baaa9cecfae68ce09f1bdcc01"],"basis":"shared function","functions":["getChannelRpcTimeout"]}]}]}}