Bug 1786646 (CVE-2019-18609) - CVE-2019-18609 librabbitmq: integer overflow in amqp_handle_input in amqp_connection.c leads to heap-based buffer overflow
Summary: CVE-2019-18609 librabbitmq: integer overflow in amqp_handle_input in amqp_con...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-18609
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1786647 1809991 1809992
Blocks: 1786648
TreeView+ depends on / blocked
 
Reported: 2019-12-26 18:38 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-11-04 01:00 UTC (History)
12 users (show)

Fixed In Version: librabbitmq 0.10.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 21:59:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3949 0 None None None 2020-09-29 20:03:02 UTC
Red Hat Product Errata RHSA-2020:4445 0 None None None 2020-11-04 01:00:42 UTC

Description Guilherme de Almeida Suckevicz 2019-12-26 18:38:54 UTC
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

Comment 1 Guilherme de Almeida Suckevicz 2019-12-26 18:39:09 UTC
Created librabbitmq tracking bugs for this issue:

Affects: epel-6 [bug 1786647]

Comment 3 errata-xmlrpc 2020-09-29 20:03:06 UTC
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

Comment 4 Product Security DevOps Team 2020-09-29 21:59:21 UTC
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

Comment 5 errata-xmlrpc 2020-11-04 01:00:41 UTC
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


Note You need to log in before you can comment on or make changes to this bug.