CVE-2016-1245: Buffer Overflow

Published Oct 18, 2016
·
Updated

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

5 affected componentsFixes available
debian/quagga
1.2.4-3
debian/quagga<=0.99.22.4-1, <=0.99.23.1-1
0.99.22.4-1+wheezy3+deb7u10.99.23.1-1+deb8u31.0.20160315-3
redhat/Quagga<1.0.20161017
1.0.20161017
Quagga Quagga<=1.0.20160315
Debian Debian Linux=8.0

Event History

Feb 22, 2017
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
DescriptionWeakness
Data Sourced
via NVD·11:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2016-1245?

To resolve CVE-2016-1245, upgrade to the patched versions of Quagga mentioned in the vulnerability details.

3

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.

4

What type of attack does CVE-2016-1245 involve?

CVE-2016-1245 involves a buffer overflow attack triggered by IPv6 Router Advertisement messages.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203