{"id":"CVE-2018-5381","published":"2018-02-19T13:00:00Z","modified":"2024-09-16T16:17:27Z","title":"The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of \"Capabilities\" in BGP OPEN messages…","vendor":"Quagga","product":"bgpd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.30162,"percentile":0.98259,"provenance":"source"},"cwes":[{"id":"CWE-228","name":"Improper Handling of Syntactically Invalid Structure"}],"references":[{"url":"https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3573-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2018/dsa-4115","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://savannah.nongnu.org/forum/forum.php?forum_id=9095","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201804-17","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.kb.cert.org/vuls/id/940439","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.65},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"quagga","affectedVersions":[{"vendor":"Quagga","product":"bgpd","versions":[">= bpgd, < 1.2.3"]}],"summary":{"text":"The Quagga BGP daemon (bgpd) prior to version 1.2.3 contains a parsing bug in the bgp_capability_msg_parse function in bgp_packet.c, which handles \"Capabilities\" in BGP OPEN messages. An attacker who can send a BGP OPEN message with a Multi-Protocol capability lacking a recognized AFI/SAFI can cause the parser to enter an infinite loop, resulting in a denial of service; the attack vector is network-based, requires low privileges, and needs no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:27Z"},"euvd":{"id":"EUVD-2018-17153","exploited":false,"provenance":"source"}}