CVE-2019-18609
There is an integer overflow that leads to heap memory corruption in the handling of CONNECTION_STATE_HEADER.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.32% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- rabbitmq-c project/rabbitmq-c · fedoraproject/fedora · canonical/ubuntu linux · debian/debian linux
- Source
- cve@mitre.org
References
- https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.mdThird Party Advisory
- https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047aPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00004.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WA7CPNVYMF6OQNIYNLWUY6U2GTKFOKH3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQER6XTKYMHNQR7QTHW7DJAH645WQROU/
- https://news.ycombinator.com/item?id=21681976Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202003-07Third Party Advisory
- https://usn.ubuntu.com/4214-1/Third Party Advisory
- https://usn.ubuntu.com/4214-2/Third Party Advisory
- https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.mdThird Party Advisory
- https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047aPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00004.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WA7CPNVYMF6OQNIYNLWUY6U2GTKFOKH3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQER6XTKYMHNQR7QTHW7DJAH645WQROU/
- https://news.ycombinator.com/item?id=21681976Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202003-07Third Party Advisory
- https://usn.ubuntu.com/4214-1/Third Party Advisory
- https://usn.ubuntu.com/4214-2/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.