CVE-2018-5379 Use after free in bgpd
A double-free vulnerability in the Quagga BGP daemon allows remote attackers to cause a denial of service or execute arbitrary code via crafted UPDATE messages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-5379?
CVE-2018-5379 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 19 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-415
Which versions are affected by CVE-2018-5379?
It affects 9 products.
Linux distribution packages (8)
quagga Red Hat:enterprise_linux:7::server | All versions | 0:0.99.22.4-5.el7_4 |
quagga-contrib Red Hat:enterprise_linux:7::server | All versions | 0:0.99.22.4-5.el7_4 |
quagga-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:0.99.22.4-5.el7_4 |
quagga-devel Red Hat:enterprise_linux:7::server | All versions | 0:0.99.22.4-5.el7_4 |
quagga Red Hat:enterprise_linux:7::workstation | All versions | 0:0.99.22.4-5.el7_4 |
quagga-contrib Red Hat:enterprise_linux:7::workstation | All versions | 0:0.99.22.4-5.el7_4 |
quagga-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:0.99.22.4-5.el7_4 |
quagga-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:0.99.22.4-5.el7_4 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Quagga Quagga, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 3 more.
How do I fix CVE-2018-5379?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-5379 being exploited?
There is no known exploitation of CVE-2018-5379 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CVE-2018-1000063, GHSA-5prq-47x2-38gv, RHSA-2018:0377, UBUNTU-CVE-2018-5379.