GLSA-201610-03 : Quagga: Arbitrary code execution

high Nessus Plugin ID 93945

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201610-03 (Quagga: Arbitrary code execution)

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.

Solution

All Quagga users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/quagga-1.0.20160315'

See Also

https://security.gentoo.org/glsa/201610-03

Plugin Details

Severity: High

ID: 93945

File Name: gentoo_GLSA-201610-03.nasl

Version: 2.2

Type: local

Published: 10/11/2016

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: High

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:quagga, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 10/10/2016

Reference Information

CVE: CVE-2016-2342

GLSA: 201610-03