Skip to content

CVE-2017-16227 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 lo...

HighCVSS 7.5 EPSS 46.0%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
alpine/quagga(Alpine v3.3) < 0.99.24.1-r6 0.99.24.1-r6 Fixed
alpine/quagga(Alpine v3.4) < 1.0.20161017-r1 1.0.20161017-r1 Fixed
alpine/quagga(Alpine v3.5) < 1.1.1-r1 1.1.1-r1 Fixed
alpine/quagga(Alpine v3.6) < 1.2.2-r0 1.2.2-r0 Fixed
quagga <= 1.2.1 after 1.2.1 Fixed
ubuntu/quagga(Ubuntu 14.04) < 0.99.22.4-3ubuntu1.4; = 0.99.22.1-2; = 0.99.22.4-1; = 0.99.22.4-2 +5 more 0.99.22.4-3ubuntu1.4 Fixed
ubuntu/quagga(Ubuntu 16.04) < 0.99.24.1-2ubuntu1.3; = 0.99.24.1-2; = 0.99.24.1-2ubuntu1; = 0.99.24.1-2ubuntu1.1 +1 more 0.99.24.1-2ubuntu1.3 Fixed
debian linux = 8.0; = 9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
quagga <= 1.2.1 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
alpine/quagga(Alpine:v3.3) < 0.99.24.1-r6 0.99.24.1-r6
alpine/quagga(Alpine:v3.4) < 1.0.20161017-r1 1.0.20161017-r1
alpine/quagga(Alpine:v3.5) < 1.1.1-r1 1.1.1-r1
alpine/quagga(Alpine:v3.6) < 1.2.2-r0 1.2.2-r0
ubuntu/quagga(Ubuntu:14.04) < 0.99.22.4-3ubuntu1.4 0.99.22.4-3ubuntu1.4
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.1-2 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-1 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-2 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-3 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-3ubuntu1 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-3ubuntu1.1 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-3ubuntu1.2 No fix listed
ubuntu/quagga(Ubuntu:14.04) = 0.99.22.4-3ubuntu1.3 No fix listed
ubuntu/quagga(Ubuntu:16.04) < 0.99.24.1-2ubuntu1.3 0.99.24.1-2ubuntu1.3
ubuntu/quagga(Ubuntu:16.04) = 0.99.24.1-2 No fix listed
ubuntu/quagga(Ubuntu:16.04) = 0.99.24.1-2ubuntu1 No fix listed
ubuntu/quagga(Ubuntu:16.04) = 0.99.24.1-2ubuntu1.1 No fix listed
ubuntu/quagga(Ubuntu:16.04) = 0.99.24.1-2ubuntu1.2 No fix listed

References