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.
References (9)
Core 9
Core References
Third Party Advisory x_refsource_misc
https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.md
Patch, Third Party Advisory x_refsource_confirm
https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a
Issue Tracking, Third Party Advisory x_refsource_misc
https://news.ycombinator.com/item?id=21681976
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4214-1/
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/12/msg00004.html
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WA7CPNVYMF6OQNIYNLWUY6U2GTKFOKH3/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQER6XTKYMHNQR7QTHW7DJAH645WQROU/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4214-2/
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/202003-07
Scores
CVSS v3
9.8
EPSS
0.0155
EPSS Percentile
81.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (9)
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
18.04
canonical/ubuntu_linux
19.04
canonical/ubuntu_linux
19.10
debian/debian_linux
8.0
fedoraproject/fedora
30
fedoraproject/fedora
31
rabbitmq-c_project/rabbitmq-c
< 0.10.0
Published
Dec 01, 2019
Tracked Since
Feb 18, 2026