CVE-2017-5495
quagga: Telnet interface input buffer allocates unbounded amounts of memory
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-119
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 6 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | quagga +2 | wont fix |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | quagga | 1.1.1-r0 |
| 3.23 | quagga | 1.1.1-r0 |
| 3.24 | quagga | 1.1.1-r0 |
| edge | quagga | 1.1.1-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libfpm-pb0 +6 | 1.2.4-2.14 | openSUSE-SU-2024:11290-1 |
References
- mirror.easyname.at http://mirror.easyname.at/nongnu//quagga/quagga-1.1.1.changelog.txt
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2017-0794.html
- savannah.nongnu.org http://savannah.nongnu.org/forum/forum.php?forum_id=8783
- www.securityfocus.com http://www.securityfocus.com/bid/95745
- www.securitytracker.com http://www.securitytracker.com/id/1037688
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-5495
- github.com https://github.com/freerangerouting/frr/pull/63
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-5495.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-0794.html
- lists.quagga.net https://lists.quagga.net/pipermail/quagga-dev/2017-January/016586.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.