cve/2018/CVE-2018-5381.md

18 lines
870 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-5381](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5381)
![](https://img.shields.io/static/v1?label=Product&message=bgpd&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=bpgd1.2.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-228%3A%20Improper%20Handling%20of%20Syntactically%20Invalid%20Structure&color=brighgreen)
### 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.
### POC
#### Reference
- http://www.kb.cert.org/vuls/id/940439
#### Github
No PoCs found on GitHub currently.