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
Link | Resource |
---|---|
https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a | Patch Third Party Advisory |
https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.md | Third Party Advisory |
https://news.ycombinator.com/item?id=21681976 | Issue Tracking Third Party Advisory |
https://usn.ubuntu.com/4214-1/ | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2019/12/msg00004.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WA7CPNVYMF6OQNIYNLWUY6U2GTKFOKH3/ | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XQER6XTKYMHNQR7QTHW7DJAH645WQROU/ | Third Party Advisory |
https://usn.ubuntu.com/4214-2/ | Third Party Advisory |
https://security.gentoo.org/glsa/202003-07 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Information
Published : 2019-12-01 14:15
Updated : 2022-01-01 12:06
NVD link : CVE-2019-18609
Mitre link : CVE-2019-18609
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
debian
- debian_linux
canonical
- ubuntu_linux
fedoraproject
- fedora
rabbitmq-c_project
- rabbitmq-c