Integer overflow in RabbitMQ C client - CVE-2019-18609

 

Integer overflow in RabbitMQ C client - CVE-2019-18609

Published: December 5, 2019


Vulnerability identifier: #VU23428
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-18609
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in amqp_handle_input() function in librabbitmq/amqp_connection.c in rabbitmq-c when handling the CONNECTION_STATE_HEADER. A remote attacker that controls a malicious server can send a specially crafted response to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

RabbitMQ C client
Gentoo Linux
Amazon Linux AMI
Fedora
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
openEuler
librabbitmq (Ubuntu package)
librabbitmq (Red Hat package)
librabbitmq
librabbitmq-help
librabbitmq-debugsource
librabbitmq-devel
librabbitmq-debuginfo
OpenShift Data Foundation (formerly OpenShift Container Storage)

How to mitigate CVE-2019-18609

Install updates from vendor's website.

RabbitMQ C client - update to 0.10.0
librabbitmq (Ubuntu package) - addressed in versions 0.7.1-1ubuntu0.2, 0.8.0-1ubuntu0.18.04.2, 0.9.0-0.2ubuntu0.19.04.1, 0.9.0-0.2ubuntu0.19.10.1
librabbitmq (Red Hat package) - addressed in versions 0.8.0-3.el7, 0.9.0-2.el8
librabbitmq - addressed in versions 0.5.2-2.el6, 0.10.0-1.fc30, 0.10.0-1.fc31
librabbitmq - update to 0.9.0-4
librabbitmq-help - update to 0.9.0-4
librabbitmq-debugsource - update to 0.9.0-4
librabbitmq-devel - update to 0.9.0-4
librabbitmq-debuginfo - update to 0.9.0-4

External References

Related Security Bulletins