Bug 1386109 (CVE-2016-1245) - CVE-2016-1245 quagga: Buffer Overflow in IPv6 RA handling
Summary: CVE-2016-1245 quagga: Buffer Overflow in IPv6 RA handling
Alias: CVE-2016-1245
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1386110 1391914
Blocks: 1386080 1386111
TreeView+ depends on / blocked
Reported: 2016-10-18 07:58 UTC by Andrej Nemec
Modified: 2019-09-29 13:58 UTC (History)
5 users (show)

Fixed In Version: Quagga 1.0.20161017
Doc Type: If docs needed, set a value
Doc Text:
A stack-based buffer overflow flaw was found in the way Quagga handled IPv6 router advertisement messages. A remote attacker could use this flaw to crash the zebra daemon resulting in denial of service.
Clone Of:
Last Closed: 2019-06-08 03:00:20 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0794 0 normal SHIPPED_LIVE Moderate: quagga security and bug fix update 2017-03-21 12:50:48 UTC

Description Andrej Nemec 2016-10-18 07:58:56 UTC
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:





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.

Comment 1 Andrej Nemec 2016-10-18 07:59:19 UTC
Created quagga tracking bugs for this issue:

Affects: fedora-all [bug 1386110]

Comment 7 Dhiru Kholia 2016-10-21 08:18:19 UTC
On RHEL (and Fedora), the usage of -fstack-protector compilation flag limits the impact of this stack-based buffer overflow to a crash (denial-of-service) in the zebra daemon. Our CVSS scores reflect this fact.

Comment 11 errata-xmlrpc 2017-03-21 11:56:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2017:0794 https://rhn.redhat.com/errata/RHSA-2017-0794.html

Note You need to log in before you can comment on or make changes to this bug.