CVE-2017-5495

Summary

CVECVE-2017-5495
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-01-24 07:59:00 UTC
Updated2018-01-05 02:31:00 UTC
DescriptionAll 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.

Risk And Classification

Problem Types: CWE-119

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Quagga Quagga All All All All

References

ReferenceSourceLinkTags
lib: limit size of vty buffer to 4096 bytes by qlyoung · Pull Request #63 · FRRouting/frr · GitHub CONFIRM github.com Patch, Vendor Advisory
Quagga CVE-2017-5495 Denial of Service Vulnerability BID www.securityfocus.com
Quagga Routing Software - News: Quagga 1.1.1 Released [Savannah] CONFIRM savannah.nongnu.org Release Notes, Vendor Advisory
[quagga-dev 16560] CVE-2017-5495 text CONFIRM lists.quagga.net
Quagga vty_write() Buffer Memory Allocation Flaw Lets Remote Users Cause the Target Service to Crash - SecurityTracker SECTRACK www.securitytracker.com
Red Hat Customer Portal REDHAT rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500596 Alpine Linux Security Update for quagga
  • 504348 Alpine Linux Security Update for quagga
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report