CVE-2018-5381 Denial of service in bgpd
An attacker can cause a denial of service in the Quagga BGP daemon by sending malformed BGP OPEN messages with invalid capabilities.
- 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-5381?
CVE-2018-5381 is a medium-severity denial of service 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 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in the bgp_packet.c:bgp_capability_msg_parse function. The parser can enter an infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.
Which versions are affected by CVE-2018-5381?
It affects 4 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Quagga Quagga, Siemens Ruggedcom Rox Ii Firmware.
How do I fix CVE-2018-5381?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2018-5381 being exploited?
There is no known exploitation of CVE-2018-5381 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CLSA-2026-1777946639, CLSA-2026-1778170790, CVE-2018-1000065, GHSA-g4qp-j7fc-2xcf, UBUNTU-CVE-2018-5381.