CVE-2017-5495

7.5 HIGH
Published: January 24, 2017 Modified: May 13, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://savannah.nongnu.org/forum/forum.php?forum_id=8783
Source: cve@mitre.org
Release Notes Vendor Advisory
https://github.com/freerangerouting/frr/pull/63
Source: cve@mitre.org
Patch Vendor Advisory
http://rhn.redhat.com/errata/RHSA-2017-0794.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://savannah.nongnu.org/forum/forum.php?forum_id=8783
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Vendor Advisory
http://www.securityfocus.com/bid/95745
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securitytracker.com/id/1037688
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/freerangerouting/frr/pull/63
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory

12 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
18.8%
97th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

quagga