CVE-2016-1245: Buffer Overflow
A buffer overflow exists in the IPv6 (Router Advertisement) code in Zebra. The issue can be triggered on an IPv6 address where the Quagga daemon is reachable by a RA (Router Advertisement or IPv6 ICMP message. The issue leads to a crash of the zebra daemon. In specific circumstances this vulnerability may allow remote code execution.
Upstream patch:
https://github.com/Quagga/quagga/commit/cfb1fae25f8c092e0d17073eaf7bd428ce1cd546
References:
http://www.gossamer-threads.com/lists/quagga/users/31952
Workarounds:
Disable IPv6 neighbor discovery announcements on all interfaces ("ipv6 nd suppress-ra" configured under all interfaces). Make sure to have it disabled on ALL interfaces.
Other sources
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
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2016-1245?
CVE-2016-1245 is classified as a high-severity vulnerability due to its potential to cause a denial-of-service condition.
How do I fix CVE-2016-1245?
To resolve CVE-2016-1245, upgrade to the patched versions of Quagga mentioned in the vulnerability details.
Which versions of Quagga are affected by CVE-2016-1245?
CVE-2016-1245 affects multiple versions of Quagga, specifically versions prior to 1.2.4-3 and those listed for Debian and Red Hat.
What type of attack does CVE-2016-1245 involve?
CVE-2016-1245 involves a buffer overflow attack triggered by IPv6 Router Advertisement messages.
What is the impact of exploiting CVE-2016-1245?
Exploitation of CVE-2016-1245 can lead to crashes of the zebra daemon, resulting in a denial of service.