rabbitmq-c: Heap buffer overflow in AMQP login handshake via undersized connection.tune.frame_max
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| alanxz | rabbitmq-c | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Alanxz | Rabbitmq-c |
|
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4658-1 | librabbitmq security update |
Debian DSA |
DSA-6343-1 | librabbitmq security update |
Ubuntu USN |
USN-8437-1 | rabbitmq-c vulnerabilities |
Ubuntu USN |
USN-8724-1 | rabbitmq-c vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.403% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-131 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Alanxz
Alanxz rabbitmq-c |
|
| Vendors & Products |
Alanxz
Alanxz rabbitmq-c |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to 0.16.0, a malicious AMQP server can send an undersized connection.tune.frame_max value during amqp_login(), and rabbitmq-c accepts the value in amqp_login_inner() in librabbitmq/amqp_socket.c. amqp_tune_connection() in librabbitmq/amqp_connection.c uses frame_max to reallocate the outbound buffer without enforcing AMQP_FRAME_MIN_SIZE. Immediate serialization of connection.tune-ok through amqp_frame_to_bytes() writes beyond the undersized heap allocation, causing memory corruption and likely denial of service. An on-path attacker can also trigger the flaw against plaintext AMQP traffic. Code execution is theoretically possible but was not demonstrated. This issue is fixed in version 0.16.0. | |
| Title | rabbitmq-c: Heap buffer overflow in AMQP login handshake via undersized connection.tune.frame_max | |
| Weaknesses | CWE-122 | |
| References |
| |
| Metrics |
cvssV3_1
|