Description
The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote attackers to cause a denial of service (session drop) via BGP UPDATE messages, because AS_PATH size calculation for long paths counts certain bytes twice and consequently constructs an invalid message.
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+deb9u1 | DSA-4011-1 |
| Debian 8 | quagga | 0.99.23.1-1+deb8u4 | DSA-4011-1 |
| Debian 7 | quagga | 0.99.22.4-1+wheezy3+deb7u2 | DLA-1152-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | quagga | 0.99.24.1-2ubuntu1.3 | USN-3471-1 |
| Ubuntu 14.04 LTS | quagga | 0.99.22.4-3ubuntu1.4 | USN-3471-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
| SLES 11 SP4 | quagga | 0.99.15-0.30.3.1 | SUSE-SU-2018:0457-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP3 | quagga | 0.99.15-0.30.3.1 | SUSE-SU-2018:0457-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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.6 | quagga | 1.2.2-r0 | — |
| Alpine v3.5 | quagga | 1.1.1-r1 | — |
| Alpine v3.4 | quagga | 1.0.20161017-r1 | — |
| Alpine v3.3 | quagga | 0.99.24.1-r6 | — |
Advisories 7
- DSA-4011-1 quagga - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1152-1 quagga - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3471-1 quagga vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 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
References
- https://bugs.debian.org/879474
- http://download.savannah.gnu.org/releases/quagga/quagga-1.2.2.changelog.txt
- DSA-4011 vendor-advisory
- https://git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008
- https://lists.quagga.net/pipermail/quagga-dev/2017-September/033284.html