CVE-2018-5381Quagga
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Quagga · Quagga We alert you by email or Slack (account required).
- Priority
- 63
- CVSS 3.0
- 7.5
- EPSS
- 30.2% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Feb 19, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Quagga.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| quagga | quagga | ≤ 1.2.2 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| siemens | ruggedcom_rox_ii_firmware | < 2.13.0 |
Official sources
References
Links published by the sources. Open them with care.
- savannah.nongnu.org Third Party Advisory
- www.kb.cert.org Third Party Advisory US Government Resource
- cert-portal.siemens.com Mitigation Third Party Advisory
- gogs.quagga.net Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory