CVE Vulnerabilities

CVE-2018-5381

Improper Handling of Syntactically Invalid Structure

Published: Feb 19, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
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 infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.

Weakness

The product does not handle or incorrectly handles input that is not syntactically well-formed with respect to the associated specification.

Affected Software

Name Vendor Start Version End Version
Quagga Quagga * 1.2.2 (including)
Quagga Ubuntu artful *
Quagga Ubuntu devel *
Quagga Ubuntu trusty *
Quagga Ubuntu upstream *
Quagga Ubuntu xenial *

References