CVE-2018-5379
quagga: Double free vulnerability in bgpd when processing certain forms of UPDATE message allowing to crash or potentially execute arbitrary code
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Ubuntu (medium).
Description
The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UPDATE message, containing cluster-list and/or unknown attributes. A successful attack could cause a denial of service or potentially allow an attacker to execute arbitrary code.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | quagga, quagga-contrib, quagga-debuginfo and 1 more | 0.99.22.4-4.17.amzn1 |
| debian 7 | quagga | 0.99.22.4-1+wheezy3+deb7u3 |
| debian 8 | quagga | 0.99.23.1-1+deb8u5 |
| debian 9 | quagga | 1.1.1-3+deb9u2 |
| Oracle Linux 7 | quagga, quagga-contrib, quagga-devel | 0.99.22.4-5.el7_4 |
| Red Hat | quagga, quagga-contrib, quagga-devel | no fix listed |
| ubuntu 14.04 | quagga | 0.99.22.4-3ubuntu1.5 |
| ubuntu 16.04 | quagga | 0.99.24.1-2ubuntu1.4 |
| ubuntu 16.04-ESM | quagga | 0.99.24.1-2ubuntu1.4 |
| ubuntu 17.10 | quagga | 1.1.1-3ubuntu0.2 |
Show all 17 entries from 10 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | quagga | 0.99.22.4-4.17.amzn1 |
| amazon linux 1 | quagga-contrib | 0.99.22.4-4.17.amzn1 |
| amazon linux 1 | quagga-debuginfo | 0.99.22.4-4.17.amzn1 |
| amazon linux 1 | quagga-devel | 0.99.22.4-4.17.amzn1 |
| debian 7 | quagga | 0.99.22.4-1+wheezy3+deb7u3 |
| debian 8 | quagga | 0.99.23.1-1+deb8u5 |
| debian 9 | quagga | 1.1.1-3+deb9u2 |
| Oracle Linux 7 | quagga | 0.99.22.4-5.el7_4 |
| Oracle Linux 7 | quagga-contrib | 0.99.22.4-5.el7_4 |
| Oracle Linux 7 | quagga-devel | 0.99.22.4-5.el7_4 |
| Red Hat | quagga | no fix listed |
| Red Hat | quagga-contrib | no fix listed |
| Red Hat | quagga-devel | no fix listed |
| ubuntu 14.04 | quagga | 0.99.22.4-3ubuntu1.5 |
| ubuntu 16.04 | quagga | 0.99.24.1-2ubuntu1.4 |
| ubuntu 16.04-ESM | quagga | 0.99.24.1-2ubuntu1.4 |
| ubuntu 17.10 | quagga | 1.1.1-3ubuntu0.2 |
References
- http://savannah.nongnu.org/forum/forum.php?forum_id=9095
- http://www.kb.cert.org/vuls/id/940439
- http://www.securityfocus.com/bid/103105
- https://access.redhat.com/errata/RHSA-2018:0377
- https://access.redhat.com/security/cve/CVE-2018-5379
- https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf
- https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1114.txt
- https://linux.oracle.com/cve/CVE-2018-5379.html
All 17 references
- https://linux.oracle.com/errata/ELSA-2018-0377.html
- https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-5379
- https://security.gentoo.org/glsa/201804-17
- https://ubuntu.com/security/notices/USN-3573-1
- https://usn.ubuntu.com/3573-1/
- https://www.cve.org/CVERecord?id=CVE-2018-5379
- https://www.debian.org/security/2018/dsa-4115
- https://www.quagga.net/security/Quagga-2018-1114.txt