CVE-2019-18609
librabbitmq: integer overflow in amqp_handle_input in amqp_connection.c leads to heap-based buffer overflow
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (media), AlmaLinux (media), Amazon (media), Oracle (media), Ubuntu (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| alma 8 | librabbitmq-devel | 0.9.0-2.el8 |
| amazon linux 1 | librabbitmq, librabbitmq-debuginfo, librabbitmq-devel | 0.1-0.2.hgfb6fca832fd2.3.amzn1 |
| debian 10 | librabbitmq | sin corrección indicada |
| debian 11 | librabbitmq | 0.10.0-1 |
| debian 12 | librabbitmq | 0.10.0-1 |
| debian 13 | librabbitmq | 0.10.0-1 |
| debian 14 | librabbitmq | 0.10.0-1 |
| debian 8 | librabbitmq | 0.5.2-2+deb8u1 |
| debian 9 | librabbitmq | sin corrección indicada |
| echo | librabbitmq | 0.10.0-1 |
| Oracle Linux 7 | librabbitmq, librabbitmq-devel, librabbitmq-examples | 0.8.0-3.el7 |
| Oracle Linux 8 | librabbitmq, librabbitmq-devel | 0.9.0-2.el8 |
Mostrar las 26 entradas de 20 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| alma 8 | librabbitmq-devel | 0.9.0-2.el8 |
| amazon linux 1 | librabbitmq | 0.1-0.2.hgfb6fca832fd2.3.amzn1 |
| amazon linux 1 | librabbitmq-debuginfo | 0.1-0.2.hgfb6fca832fd2.3.amzn1 |
| amazon linux 1 | librabbitmq-devel | 0.1-0.2.hgfb6fca832fd2.3.amzn1 |
| debian 10 | librabbitmq | sin corrección indicada |
| debian 11 | librabbitmq | 0.10.0-1 |
| debian 12 | librabbitmq | 0.10.0-1 |
| debian 13 | librabbitmq | 0.10.0-1 |
| debian 14 | librabbitmq | 0.10.0-1 |
| debian 8 | librabbitmq | 0.5.2-2+deb8u1 |
| debian 9 | librabbitmq | sin corrección indicada |
| echo | librabbitmq | 0.10.0-1 |
| Oracle Linux 7 | librabbitmq | 0.8.0-3.el7 |
| Oracle Linux 7 | librabbitmq-devel | 0.8.0-3.el7 |
| Oracle Linux 7 | librabbitmq-examples | 0.8.0-3.el7 |
| Oracle Linux 8 | librabbitmq | 0.9.0-2.el8 |
| Oracle Linux 8 | librabbitmq-devel | 0.9.0-2.el8 |
| Red Hat | librabbitmq | sin corrección indicada |
| Red Hat | librabbitmq-tools | sin corrección indicada |
| ubuntu 14.04-ESM | librabbitmq | 0.4.1-1ubuntu0.1~esm1 |
| ubuntu 16.04 | librabbitmq | 0.7.1-1ubuntu0.2 |
| ubuntu 16.04-ESM | librabbitmq | 0.7.1-1ubuntu0.2 |
| ubuntu 18.04 | librabbitmq | 0.8.0-1ubuntu0.18.04.2 |
| ubuntu 18.04-ESM | librabbitmq | 0.8.0-1ubuntu0.18.04.2 |
| ubuntu 19.04 | librabbitmq | 0.9.0-0.2ubuntu0.19.04.1 |
| ubuntu 19.10 | librabbitmq | 0.9.0-0.2ubuntu0.19.10.1 |
Referencias
- https://access.redhat.com/security/cve/CVE-2019-18609
- https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.md
- https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a
- https://linux.oracle.com/cve/CVE-2019-18609.html
- https://linux.oracle.com/errata/ELSA-2020-4445.html
- https://lists.debian.org/debian-lts-announce/2019/12/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WA7CPNVYMF6OQNIYNLWUY6U2GTKFOKH3/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XQER6XTKYMHNQR7QTHW7DJAH645WQROU/
Las 16 referencias
- https://news.ycombinator.com/item?id=21681976
- https://nvd.nist.gov/vuln/detail/CVE-2019-18609
- https://security.gentoo.org/glsa/202003-07
- https://ubuntu.com/security/notices/USN-4214-1
- https://ubuntu.com/security/notices/USN-4214-2
- https://usn.ubuntu.com/4214-1/
- https://usn.ubuntu.com/4214-2/
- https://www.cve.org/CVERecord?id=CVE-2019-18609