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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | quagga | 1.2.4-2.14 | openSUSE-SU-2024:11290-1 |
Advisories 10
- DSA-4115-1 quagga - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1286-1 quagga - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3573-1 quagga vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2024:3426-1 Security update for quagga SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0457-1 Security update for quagga SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0456-1 Security update for quagga SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0455-1 Security update for quagga SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11290-1 libfpm_pb0-1.2.4-2.14 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-2213 quagga: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 24, 2024
- ICSA-19-099-05 ICSA-19-099-05 Siemens RUGGEDCOM ROX II CISA ICS & IT advisories · Apr 9, 2019
References
- https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt
- USN-3573-1 vendor-advisory
- DSA-4115 vendor-advisory
- http://savannah.nongnu.org/forum/forum.php?forum_id=9095
- GLSA-201804-17 vendor-advisory
- [debian-lts-announce] 20180216 [SECURITY] [DLA 1286-1] quagga security update mailing-list
- VU#940439 third-party-advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf