A buffer overflow in Quagga might allow remote attackers to execute arbitrary code.
|Package||net-misc/quagga on all architectures|
|Affected versions||< 1.0.20160315|
|Unaffected versions||>= 1.0.20160315|
Quagga is a free routing daemon replacing Zebra supporting RIP, OSPF and BGP.
A memcpy function in the VPNv4 NLRI parser of bgp_mplsvpn.c does not properly check the upper-bound length of received Labeled-VPN SAFI routes data, which may allow for arbitrary code execution on the stack.
A remote attacker could send a specially crafted packet, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
There is no known workaround at this time.
All Quagga users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/quagga-1.0.20160315"
October 10, 2016
October 10, 2016: 1