CVE-2017-5495

Name
CVE-2017-5495
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
cve@mitre.org http://rhn.redhat.com/errata/RHSA-2017-0794.html
Release Notes http://savannah.nongnu.org/forum/forum.php?forum_id=8783
cve@mitre.org http://www.securityfocus.com/bid/95745
cve@mitre.org http://www.securitytracker.com/id/1037688
Patch https://github.com/freerangerouting/frr/pull/63
cve@mitre.org https://lists.quagga.net/pipermail/quagga-dev/2017-January/016586.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:quagga:quagga:*:*:*:*:*:*:*:* quagga >= None <= 1.1.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
quagga edge-main 1.1.1-r0 None fixed
quagga 3.22-main 1.1.1-r0 None fixed
quagga 3.21-main 1.1.1-r0 None fixed
quagga 3.20-main 1.1.1-r0 None fixed
quagga 3.19-main 1.1.1-r0 None fixed
quagga 3.18-main 1.1.1-r0 None fixed
quagga 3.17-main 1.1.1-r0 None fixed
quagga 3.12-main 1.1.1-r0 None fixed
quagga 3.11-main 1.1.1-r0 None fixed
quagga 3.10-main 1.1.1-r0 None fixed