CVEfocus › CVE database › CVE-2017-5495

CVE-2017-5495

CVSS 7.5 HighEPSS 18.8% (higher than 97% of CVEs)Published 2017-01-24Updated 2024-08-05Assigner: mitre

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

Likely to be exploited: EPSS gives a 19% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04quaggaFixed0.99.24.1-2ubuntu1.3UBUNTU-CVE-2017-5495
Ubuntu 14.04quaggaFixed0.99.22.4-3ubuntu1.4UBUNTU-CVE-2017-5495
Red Hat Enterprise Linux 7quaggaWill not fix
Will not fix
Red Hat Enterprise Linux 7quagga-contribWill not fix
Will not fix
Red Hat Enterprise Linux 7quagga-develWill not fix
Will not fix
Red Hat Enterprise Linux 6quaggaFixed0:0.99.15-14.el6RHSA-2017:0794
Red Hat Enterprise Linux 6quagga-contribFixed0:0.99.15-14.el6RHSA-2017:0794
Red Hat Enterprise Linux 6quagga-develFixed0:0.99.15-14.el6RHSA-2017:0794
Red Hat Enterprise Linux 5quaggaWill not fix
Will not fix
Alpine Linux 3.24quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.23quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.22quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.21quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.20quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.19quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.18quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.17quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.16quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.15quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.14quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.13quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.12quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.11quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.10quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.9quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.8quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.7quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.6quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495
Alpine Linux 3.5quaggaFixed1.1.1-r0ALPINE-CVE-2017-5495

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.