RabbitMQ: JSONReader in the default JSON-RPC mapper never terminates on truncated input, causing DoS
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 |
|
||||||
| com.rabbitmq | amqp-client | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Com.rabbitmq | Amqp-client |
|
||||||||
| Rabbitmq | Java-client |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cqgh-8p3p-mx4m | RabbitMQ: JSONReader in the default JSON-RPC mapper never terminates on truncated input, causing DoS |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.533% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Vmware
Vmware rabbitmq Java Client |
|
| CPEs | cpe:2.3:a:vmware:rabbitmq_java_client:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Vmware
Vmware rabbitmq Java Client |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Com.rabbitmq
Com.rabbitmq amqp-client Rabbitmq Rabbitmq java-client |
|
| Vendors & Products |
Com.rabbitmq
Com.rabbitmq amqp-client 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.37.0, com.rabbitmq.tools.json.JSONReader.read() fails to terminate when input ends inside a quoted string or a line comment because its string and whitespace scanners do not stop at CharacterIterator.DONE. The default DefaultJsonRpcMapper passes JSON-RPC message bodies to this parser for JsonRpcServer and client replies. A truncated string causes the parser to append replacement end markers until heap exhaustion, while a line comment without a terminating newline can keep a thread consuming CPU indefinitely, resulting in denial of service. This issue is fixed in version 5.37.0. | |
| Title | RabbitMQ: JSONReader in the default JSON-RPC mapper never terminates on truncated input, causing DoS | |
| Weaknesses | CWE-835 | |
| References |
|
|
| Metrics |
cvssV3_1
|