ALPINE-CVE-2017-5495
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.6 | quagga | 0.99.11-r10, 0.99.11-r4, 0.99.11-r7 |
| Alpine:v3.13 | quagga | 0, 0.99.11-r10, 0.99.11-r4 |
| Alpine:v3.5 | quagga | 0.99.22.1-r0, 1.1.0-r0, 1.0.20160315-r1 |
| Alpine:v3.16 | quagga | 1.1.0-r0, 1.0.20160315-r1, 1.0.20160315-r0 |
| Alpine:v3.20 | quagga | 1.1.0-r0, 1.0.20160315-r1, 1.0.20160315-r0 |
| Alpine:v3.21 | quagga | 0.99.22.4-r0, 1.1.0-r0, 1.0.20160315-r1 |
| Alpine:v3.11 | quagga | 1.1.0-r0, 0, 0.99.11-r10 |
| Alpine:v3.22 | quagga | 0.99.22.3-r3, 0, 0.99.11-r4 |
| Alpine:v3.18 | quagga | 0, 0.99.11-r10, 0.99.11-r4 |
| Alpine:v3.8 | quagga | 1.1.0-r0, 1.0.20160315-r1, 1.0.20160315-r0 |
| Alpine:v3.7 | quagga | 0, 0.99.11-r10, 0.99.11-r5 |
| Alpine:v3.12 | quagga | 1.1.0-r0, 0.99.15-r4, 0 |
| Alpine:v3.9 | quagga | 0, 1.1.0-r0, 1.0.20160315-r1 |
| Alpine:v3.14 | quagga | 0.99.13-r2, 0, 0.99.11-r4 |
| Alpine:v3.15 | quagga | 1.1.0-r0, 1.0.20160315-r1, 1.0.20160315-r0 |
| Alpine:v3.23 | quagga | 0, 1.1.0-r0, 1.0.20160315-r1 |
| Alpine:v3.17 | quagga | 0, 0.99.11-r10, 0.99.11-r4 |
| Alpine:v3.19 | quagga | 0.99.23.1-r1, 0.99.11-r10, 0.99.11-r4 |
| Alpine:v3.10 | quagga | 1.1.0-r0, 0, 0.99.11-r10 |
Timeline
- Jan 24, 2017 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch