GLSA 201610-03: Quagga: Arbitrary code execution

Severity:high
Title:Quagga: Arbitrary code execution
Date:10/10/2016
Bugs: #577156
ID:201610-03

Synopsis

A buffer overflow in Quagga might allow remote attackers to execute arbitrary code.

Background

Quagga is a free routing daemon replacing Zebra supporting RIP, OSPF and BGP.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-misc/quagga < 1.0.20160315 >= 1.0.20160315 All supported architectures

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All Quagga users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-misc/quagga-1.0.20160315"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201610-03.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!