An issue was discovered in amqp_handle_input in amqp_connection.c in rabbitmq-c 0.9.0. There is an integer overflow that leads to heap memory corruption in the handling of CONNECTION_STATE_HEADER. A rogue server could return a malicious frame header that leads to a smaller target_size value than needed. This condition is then carried on to a memcpy function that copies too much data into a heap buffer. Reference and upstream commit: https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a
Created librabbitmq tracking bugs for this issue: Affects: epel-6 [bug 1786647]
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:3949 https://access.redhat.com/errata/RHSA-2020:3949
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-18609
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:4445 https://access.redhat.com/errata/RHSA-2020:4445