Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-5381 EUVD-2018-17153GHSA-g4qp-j7fc-2xcf

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:bg…

Published Feb 19, 2018 · Updated Sep 16, 2024 · Assigned by certcc

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.

Affected products

VendorProductAffectedFixed
Quagga bgpd bpgd – < 1.2.3 1.2.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 quagga 1.1.1-3+deb9u2 DSA-4115-1
Debian 8 quagga 0.99.23.1-1+deb8u5 DSA-4115-1
Debian 7 quagga 0.99.22.4-1+wheezy3+deb7u3 DLA-1286-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS quagga 0.99.24.1-2ubuntu1.4 USN-3573-1
Ubuntu 14.04 LTS quagga 0.99.22.4-3ubuntu1.5 USN-3573-1
ReleasePackageFixed inAdvisory
SLES 12 SP5 quagga 1.1.1-17.13.1 SUSE-SU-2024:3426-1
SLES 12 SP3 quagga 1.1.1-17.7.1 SUSE-SU-2018:0456-1
SLES 12 SP2 quagga 1.1.1-17.7.1 SUSE-SU-2018:0456-1
SLES 12 SP1 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SLES 12 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP4 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
SLES 11 SP3 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
SLES for SAP 12 SP5 quagga 1.1.1-17.13.1 SUSE-SU-2024:3426-1
SLES for SAP 12 SP3 quagga 1.1.1-17.7.1 SUSE-SU-2018:0456-1
SLES for SAP 12 SP2 quagga 1.1.1-17.7.1 SUSE-SU-2018:0456-1
SLES for SAP 12 SP1 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SLES for SAP 11 SP4 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
SUSE OpenStack Cloud 6 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SUSE Linux Enterprise Point of Sale 11 SP3 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed quagga 1.2.4-2.14 openSUSE-SU-2024:11290-1

Advisories 10

References