Buffer overflow in Quagga - CVE-2016-1245
Published: February 23, 2017 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.
Affected software
SUSE Linux
Ubuntu
Opensuse
quagga (Alpine package)
quagga (Ubuntu package)
How to mitigate CVE-2016-1245
quagga (Alpine package) - update to 0.99.23.1-r3
quagga (Ubuntu package) - addressed in versions 0.99.20.1-0ubuntu0.12.04.6, 0.99.22.4-3ubuntu1.3, 0.99.24.1-2ubuntu1.2, 1.0.20160315-2ubuntu0.1
External References
- http://rhn.redhat.com/errata/RHSA-2017-0794.html
- http://www.gossamer-threads.com/lists/quagga/users/31952
- http://www.securityfocus.com/bid/93775
- https://bugzilla.redhat.com/show_bug.cgi?id=1386109
- https://github.com/Quagga/quagga/commit/cfb1fae25f8c092e0d17073eaf7bd428ce1cd546
- https://security.gentoo.org/glsa/201701-48
- https://www.debian.org/security/2016/dsa-3695