Skip to content
OpenAdvisories
Unscored CVE-2017-5495 EUVD-2017-14599GHSA-6629-rcxv-r9v7

All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vty' CLI, leading to a Denial-o…

Published Jan 24, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vty' CLI, leading to a Denial-of-Service of Quagga daemons, or even the entire host. When Quagga daemons are configured with their telnet CLI enabled, anyone who can connect to the TCP ports can trigger this vulnerability, prior to authentication. Most distributions restrict the Quagga telnet interface to local access only by default. The Quagga telnet interface 'vty' input buffer grows automatically, without bound, so long as a newline is not entered. This allows an attacker to cause the Quagga daemon to allocate unbounded memory by sending very long strings without a newline. Eventually the daemon is terminated by the system, or the system itself runs out of memory. This is fixed in Quagga 1.1.1 and Free Range Routing (FRR) Protocol Suite 2017-01-10.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS quagga 0.99.24.1-2ubuntu1.3 USN-3471-1
Ubuntu 14.04 LTS quagga 0.99.22.4-3ubuntu1.4 USN-3471-1
ReleasePackageFixed inAdvisory
RHEL 6 quagga +2 0.99.15-14.el6 RHSA-2017:0794
ReleasePackageFixed inAdvisory
SLES 12 SP3 quagga 1.1.1-17.3.3 SUSE-SU-2017:2294-1
SLES 12 SP2 quagga 1.1.1-17.3.3 SUSE-SU-2017:2294-1
SLES 12 SP1 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SLES 12 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SLES 11 SP4 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
SLES for SAP 12 SP3 quagga 1.1.1-17.3.3 SUSE-SU-2017:2294-1
SLES for SAP 12 SP2 quagga 1.1.1-17.3.3 SUSE-SU-2017:2294-1
SLES for SAP 12 SP1 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SLES for SAP 11 SP4 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
SUSE OpenStack Cloud 6 quagga 0.99.22.1-16.4.1 SUSE-SU-2018:0455-1
SUSE Linux Enterprise Point of Sale 11 SP3 quagga 0.99.15-0.30.3.1 SUSE-SU-2018:0457-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed quagga 1.2.4-2.14 openSUSE-SU-2024:11290-1
ReleasePackageFixed inAdvisory
Alpine v3.24 quagga 1.1.1-r0 —
Alpine v3.23 quagga 1.1.1-r0 —
Alpine v3.22 quagga 1.1.1-r0 —
Alpine v3.21 quagga 1.1.1-r0 —
Alpine v3.20 quagga 1.1.1-r0 —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 quagga 1.1.1-r0 —
Alpine v3.18 quagga 1.1.1-r0 —
Alpine v3.17 quagga 1.1.1-r0 —
Alpine v3.16 quagga 1.1.1-r0 —
Alpine v3.15 quagga 1.1.1-r0 —
Alpine v3.14 quagga 1.1.1-r0 —
Alpine v3.13 quagga 1.1.1-r0 —
Alpine v3.12 quagga 1.1.1-r0 —
Alpine v3.11 quagga 1.1.1-r0 —
Alpine v3.10 quagga 1.1.1-r0 —
Alpine v3.9 quagga 1.1.1-r0 —
Alpine v3.8 quagga 1.1.1-r0 —
Alpine v3.7 quagga 1.1.1-r0 —
Alpine v3.6 quagga 1.1.1-r0 —
Alpine v3.5 quagga 1.1.1-r0 —

Advisories 6

References