Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Quagga | Quagga | <= 1.2.2 |
| Canonical | Ubuntu Linux | 14.04 |
| Debian | Debian Linux | 7.0 |
| Siemens | Ruggedcom Rox Ii Firmware | < 2.13.0 |
| Siemens | Ruggedcom Rox Ii | - |
Related Weaknesses (CWE)
References
- http://savannah.nongnu.org/forum/forum.php?forum_id=9095Third Party Advisory
- http://www.kb.cert.org/vuls/id/940439Third Party AdvisoryUS Government Resource
- https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdfMitigationThird Party Advisory
- https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.tVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00021.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201804-17Third Party Advisory
- https://usn.ubuntu.com/3573-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4115Third Party Advisory
- http://savannah.nongnu.org/forum/forum.php?forum_id=9095Third Party Advisory
- http://www.kb.cert.org/vuls/id/940439Third Party AdvisoryUS Government Resource
- https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdfMitigationThird Party Advisory
- https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.tVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00021.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201804-17Third Party Advisory
- https://usn.ubuntu.com/3573-1/Third Party Advisory
FAQ
What is CVE-2018-5381?
CVE-2018-5381 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 infi...
How severe is CVE-2018-5381?
CVE-2018-5381 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-5381?
Check the references section above for vendor advisories and patch information. Affected products include: Quagga Quagga, Canonical Ubuntu Linux, Debian Debian Linux, Siemens Ruggedcom Rox Ii Firmware, Siemens Ruggedcom Rox Ii.