VULNERABILITY INTELLIGENCE
CVE-2018-5381
CVSS score6.5 MEDIUM
EPSS probability30.16%
CISA KEVNot currently listed
Published2018-02-19
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Weakness classification
- CWE-228: Improper Handling of Syntactically Invalid Structure
- CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Primary references
- cret@cert.org — Third Party Advisory
- cret@cert.org — Third Party Advisory, US Government Resource
- cret@cert.org — Mitigation, Third Party Advisory
- cret@cert.org — Vendor Advisory
- cret@cert.org — Mailing List, Third Party Advisory
- cret@cert.org — Third Party Advisory
- cret@cert.org — Third Party Advisory
- cret@cert.org — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory, US Government Resource
- af854a3a-2127-422b-91ae-364da2661108 — Mitigation, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory