CVE-2017-16227 in the critical feed json
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…
published 2017-10-29 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-7426
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 46.0%
- EPSS 46.0% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- quagga Ubuntu 14.04 LTS 0.99.22.4-3ubuntu1.4
- quagga Ubuntu 16.04 LTS 0.99.24.1-2ubuntu1.3
ubuntu advisories UBUNTU-CVE-2017-16227
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- quagga SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 0.99.15-0.30.3.1
- quagga SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 1.1.1-17.7.1
- quagga SLES for SAP 12 SP1, SLES 12-LTSS, SLES 12 SP1-LTSS +1 more 0.99.22.1-16.4.1
suse advisories SUSE-SU-2018:0457-1SUSE-SU-2018:0456-1SUSE-SU-2018:0455-1
- quagga openSUSE Tumbleweed 1.2.4-2.14
opensuse advisories openSUSE-SU-2024:11290-1
- quagga Alpine 3.3 0.99.24.1-r6
- quagga Alpine 3.4 1.0.20161017-r1
- quagga Alpine 3.5 1.1.1-r1
- quagga Alpine 3.6 1.2.2-r0
alpine advisories ALPINE-CVE-2017-16227
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-16227 updated cvss 3.7
quagga: Incorrect AS_PATH size calculation for long paths
-
Red Hat Enterprise Linux 6 quagga, quagga-contrib Red Hat Enterprise Linux 7 quagga, quagga-contribaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 quagganot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
45.96% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
git.savannah.gnu.org
/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008
issue-tracking, patch, third-party-advisory
-
bugs.debian.org
/879474
issue-tracking, patch, third-party-advisory
-
lists.quagga.net
/pipermail/quagga-dev/2017-September/033284.html
issue-tracking, patch, third-party-advisory
-
debian.org
/security/2017/dsa-4011
vendor-advisory, issue-tracking, third-party-advisory
-
download.savannah.gnu.org
/releases/quagga/quagga-1.2.2.changelog.txt
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2017-16227
- NVD CVE-2017-16227
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.