Alanxz rabbitmq-c
rabbitmq-c: Heap Buffer Overflow in amqp_send_frame() When Serializing Oversized AMQP_FRAME_BODY
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to version 0.17.0, a heap buffer overflow exists in rabbitmq-c when the public amqp_send_frame() API is used to serialize an oversized AMQP_FRAME_BODY. The issue occurs because amqp_frame_to_bytes() copies frame.payload.body_fragment.len bytes into the connection outbound buffer without validating that the body fragment fits within the allocated frame buffer. An application that passes an oversized body frame to amqp_send_frame() can trigger a heap out-of-bounds write, resulting in process crash and memory corruption. This issue has been patched in version 0.17.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.17.0
Fixed in 0.17.0
Mitigation
Upgrade rabbitmq-c to 0.17.0 or later.
References
- Vendor advisory github.com/alanxz/rabbitmq-c/security/advisori…
- Patch github.com/alanxz/rabbitmq-c/pull/892
- Release notes github.com/alanxz/rabbitmq-c/releases/tag/v0.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.