CVE-2017-5495Quagga
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Quagga · Quagga We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 3.0
- 7.5
- EPSS
- 18.8% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Jan 24, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Quagga.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| quagga | quagga | ≤ 1.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- rhn.redhat.com
- savannah.nongnu.org Release Notes Vendor Advisory
- www.securityfocus.com
- www.securitytracker.com
- github.com Patch Vendor Advisory
- lists.quagga.net