Gentoo Logo

Quagga: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201202-02 / Quagga
Release Date February 21, 2012
Latest Revision February 21, 2012: 2
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/quagga < 0.99.20 >= 0.99.20 All supported architectures

Related bugreports: #334303, #359903, #384651


Multiple vulnerabilities were found in Quagga, the worst of which leading to remote execution of arbitrary code.

2.  Impact Information


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


Multiple vulnerabilities have been discovered in Quagga. Please review the CVE identifiers referenced below for details.


A BGP peer could send a Route-Refresh message with specially-crafted ORF record, which can cause Quagga's bgpd to crash or possibly execute arbitrary code with the privileges of the user running Quagga's bgpd; a BGP update AS path request with unknown AS type, or malformed AS-Pathlimit or Extended-Community attributes could lead to Denial of Service (daemon crash), an error in bgpd when handling AS_PATH attributes within UPDATE messages can be exploited to cause a heap-based buffer overflow resulting in a crash of the daemon and disruption of IPv4 routing, two errors in ospf6d and ospfd can each be exploited to crash the daemon and disrupt IP routing.

3.  Resolution Information


There is no known workaround at this time.


All Quagga users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated February 21, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.