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.
Vulnerable Library - amqp-client-5.8.0.jar
The RabbitMQ Java client library allows Java applications to interface with RabbitMQ.
Library home page: https://www.rabbitmq.com
Path to dependency file: /nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/pom.xml
Path to vulnerable library: /nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/pom.xml
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2023-46120
### Vulnerable Library - amqp-client-5.8.0.jarThe RabbitMQ Java client library allows Java applications to interface with RabbitMQ.
Library home page: https://www.rabbitmq.com
Path to dependency file: /nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/pom.xml
Path to vulnerable library: /nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/pom.xml
Dependency Hierarchy: - :x: **amqp-client-5.8.0.jar** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsThe 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.
Publish Date: 2023-10-24
URL: CVE-2023-46120
### CVSS 3 Score Details (4.9)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: High - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-mm8h-8587-p46h
Release Date: 2023-10-24
Fix Resolution: 5.18.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.