{"id":"UBUNTU-CVE-2018-5381","details":"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.","modified":"2026-02-04T02:52:31.074351Z","published":"2018-02-13T00:00:00Z","related":["USN-3573-1"],"upstream":["CVE-2018-5381"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-5381"},{"type":"REPORT","url":"https://www.quagga.net/security/Quagga-2018-1975.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3573-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-5381"}],"affected":[{"package":{"name":"quagga","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/quagga@0.99.22.4-3ubuntu1.5?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.22.4-3ubuntu1.5"}]}],"versions":["0.99.22.1-2","0.99.22.4-1","0.99.22.4-2","0.99.22.4-3","0.99.22.4-3ubuntu1","0.99.22.4-3ubuntu1.1","0.99.22.4-3ubuntu1.2","0.99.22.4-3ubuntu1.3","0.99.22.4-3ubuntu1.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"quagga","binary_version":"0.99.22.4-3ubuntu1.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5381.json"}},{"package":{"name":"quagga","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/quagga@0.99.24.1-2ubuntu1.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.24.1-2ubuntu1.4"}]}],"versions":["0.99.24.1-2","0.99.24.1-2ubuntu1","0.99.24.1-2ubuntu1.1","0.99.24.1-2ubuntu1.2","0.99.24.1-2ubuntu1.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"quagga","binary_version":"0.99.24.1-2ubuntu1.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5381.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}