newsQuagga Routing Software - News: Quagga 1.0.20161017 Released: zebra IPv6 RA and BGP MRT dump security fixes

 
 
Latest News
Quagga 1.2.4 Released posted by paul, Mon 19 Feb 2018 09:49:01 PM UTC - 0 replies
Quagga 1.2.3 Release, with significant BGP security fixes posted by paul, Thu 15 Feb 2018 09:38:08 PM UTC - 0 replies
Quagga 1.2.2 release posted by balajig81, Tue 03 Oct 2017 05:00:55 PM UTC - 0 replies
Quagga 1.2.1 release posted by paul, Fri 10 Mar 2017 01:39:20 PM UTC - 0 replies
Quagga 1.2.0 has been released posted by paul, Wed 08 Feb 2017 03:40:08 PM UTC - 0 replies
[Submit News]
[25 news in archive]

Quagga 1.0.20161017 Released: zebra IPv6 RA and BGP MRT dump security fixes

Item posted by Paul Jakma <paul> on Mon 17 Oct 2016 04:23:24 PM UTC.

Quagga 1.0.20161017 has been released. This is a security release for zebra IPv6 SLAC/router-advertisements and BGP MRT dumps, fixing:

  • CVE-2016-1245: Stack buffer overflow in zebra on Linux, if IPv6  and IPv6 neighbour discovery router advertisements (SLAC) are enabled ("no ipv6 nd suppress-ra"). Thanks to David Lamparter for reporting and fixing this issue.
  • CVE-2016-4049: A controlled crash, leading to a DoS, in the BGP MRT route dumping code, if a prefix had too many entries to write to one record. Thanks to Evgeny Uskov for reporting and fixing this issue.

Any users using these functionalities should upgrade. Note that a number of distributions have already issued updates for the BGP MRT issue (CVE-2016-4049) as updates to  the previous 1.0.2060315 release.

This 1.0.20161017 release is available at:

http://download.savannah.gnu.org/releases/quagga/

This release also includes 4 other fixes for undefined behaviour that may have security implications, for BGP, IS-IS and OSPFv3.

The full changelog is as follows:

commit ba3859c5121608437116bcc24d475bff95224aff
Author: Christian Franke <nobody@nowhere.ws>
Date:   Tue Jun 14 20:07:06 2016 +0200

    isisd: Fix size of malloc

   

    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>

commit f7144b2d404476e294a61bfa5a364ab0581939f7
Author: Christian Franke <nobody@nowhere.ws>
Date:   Tue Jun 14 20:07:05 2016 +0200

    isisd: fix an error that was probably a result of copypasting

   

    The code should check for the existance of the correct list prior to
    accessing it.

   

    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>

commit 21dd85d4db7ea4e9e716f0f662c35f0f5b745dc6
Author: Christian Franke <nobody@nowhere.ws>
Date:   Tue Jun 14 20:07:04 2016 +0200

    ospf6d: fix off-by-one on display of spf reasons

   

    The loop should only iterate to array_size - 1.

   

    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>

commit 85e822164aeaffb9b102628c10996d776f97be80
Author: Christian Franke <nobody@nowhere.ws>
Date:   Tue Jun 14 20:07:03 2016 +0200

    ospf6d: don't access nexthops out of bounds

   

    Given that the && is evaluated lazily from left to right,
    i < OSPF6_MULTI_PATH_LIMIT should be checked prior to calling
    ospf6_nexthop_is_set on the array element, not the other way around.

   

    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>

commit 7df96b19b976c99966f7f9669e09c2a240278b88
Author: Christian Franke <nobody@nowhere.ws>
Date:   Tue Jun 14 20:07:00 2016 +0200

    bgpd: fix off-by-one in attribute flags handling

   

    bgp_attr_flag_invalid can access beyond the last element of attr_flags_values.
    Fix this by initializing attr_flags_values_max to the correct value.

   

    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Signed-off-by: Christian Franke <chris@opensourcerouting.org>
    Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>

commit 23ed2c2fb49b8a15ad125b16278e535719d64e7d
Author: David Lamparter <equinox@opensourcerouting.org>
Date:   Wed Aug 31 13:31:16 2016 +0200

    zebra: stack overrun in IPv6 RA receive code (CVE-2016-1245)

   

    The IPv6 RA code also receives ICMPv6 RS and RA messages.
    Unfortunately, by bad coding practice, the buffer size specified on
    receiving such messages mixed up 2 constants that in fact have
    different values.

   

    The code itself has:
     #define RTADV_MSG_SIZE 4096
    While BUFSIZ is system-dependent, in my case (x86_64 glibc):
     /usr/include/_G_config.h:#define _G_BUFSIZ 8192
     /usr/include/libio.h:#define _IO_BUFSIZ _G_BUFSIZ
     /usr/include/stdio.h:# define BUFSIZ _IO_BUFSIZ

   

    FreeBSD, OpenBSD, NetBSD and Illumos are not affected, since all of them
    have BUFSIZ == 1024.

   

    As the latter is passed to the kernel on recvmsg(), it's possible to
    overwrite 4kB of stack -- with ICMPv6 packets that can be globally sent
    to any of the system's addresses (using fragmentation to get to 8k).

   

    (The socket has filters installed limiting this to RS and RA packets,
    but does not have a filter for source address or TTL.)

   

    Issue discovered by trying to test other stuff, which randomly caused
    the stack to be smaller than 8kB in that code location, which then
    causes the kernel to report EFAULT (Bad address).

   

    Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
    Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>

commit 7da28be5bafb31af75f796abb04aa1d09276d66d
Author: Evgeny Uskov <eu@qrator.net>
Date:   Wed Jan 13 13:58:00 2016 +0300

    bgpd: Fix buffer overflow error in bgp_dump_routes_func

   

    Now if the number of entries for some prefix is too large, multiple
    TABLE_DUMP_V2 records are created.  In the previous version in such
    situation bgpd crashed with SIGABRT.

No messages in Quagga 1.0.20161017 Released: zebra IPv6 RA and BGP MRT dump security fixes

 

Back to the top


Powered by Savane 3.5