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.
EPSS 3.76% · 88.3th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:14.04:LTS | quagga | 0.99.22.4-3ubuntu1.3, 0.99.22.4-3, 0.99.22.4-3ubuntu1 |
| Ubuntu:16.04:LTS | quagga | 0.99.24.1-2, 0.99.24.1-2ubuntu1, 0.99.24.1-2ubuntu1.1 |
Timeline
- Jan 24, 2017 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
- Mar 11, 2023 EPSS Score
- May 13, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2017-5495 third-party-advisory
- http://savannah.nongnu.org/forum/forum.php?forum_id=8783 third-party-advisory
- http://mirror.easyname.at/nongnu//quagga/quagga-1.1.1.changelog.txt third-party-advisory
- https://github.com/freerangerouting/frr/pull/63 third-party-advisory
- https://ubuntu.com/security/notices/USN-3471-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2017-5495 third-party-advisory