Buffer overflow in Rabbitmq-C Project
CVE-2019-18609
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.033, 88.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Rabbitmq-C Project
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 30, 31
Weakness classification (CWE)
References
- github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.md (Third Party Advisory)
- github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a (Patch, Third Party Advisory)
- news.ycombinator.com/item (Third Party Advisory, Issue Tracking)
- USN-4214-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20191206 [SECURITY] [DLA 2022-1] librabbitmq security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2019-dd7c8f5435 (vendor-advisory)
- FEDORA-2019-8730b65158 (vendor-advisory)
- USN-4214-2 (vendor-advisory, Third Party Advisory)
- GLSA-202003-07 (vendor-advisory, Third Party Advisory)