RabbitMQ Java client ValueReader: Oversized LongString/bytes length triggers OOM via unchecked allocation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rabbitmq | rabbitmq-java-client | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rabbitmq | Java-client |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-68mj-5wr7-6fgg | RabbitMQ Java client ValueReader: Oversized LongString/bytes length triggers OOM via unchecked allocation |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.725% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rabbitmq
Rabbitmq java-client |
|
| Vendors & Products |
Rabbitmq
Rabbitmq java-client |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.33.1, src/main/java/com/rabbitmq/client/impl/ValueReader.java uses ValueReader.readBytes to accept a wire-declared contentLength below Integer.MAX_VALUE and allocate a byte array before checking the bytes available in the frame. A malicious AMQP peer can send a LongString or byte-array field with type tag S and a declared length such as 0x7FFFFFFE during the pre-authentication connection.start server-properties table, causing an approximately 2 GB allocation and OutOfMemoryError before readFully consumes data. The resulting memory exhaustion can terminate the JVM and cause denial of service. This issue is fixed in version 5.33.1. | |
| Title | RabbitMQ Java client ValueReader: Oversized LongString/bytes length triggers OOM via unchecked allocation | |
| Weaknesses | CWE-789 | |
| References |
|
|
| Metrics |
cvssV4_0
|