CVE-2017-5495 Denial of service in n/a

High 7.5 Published Updated

Unbounded memory allocation in Quagga's telnet CLI allows remote attackers to cause denial of service if the interface is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5495?

CVE-2017-5495 is a high-severity denial of service vulnerability in n/a, published on 24 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2017-5495?

It affects 1 product.

Products include Quagga Quagga.

How do I fix CVE-2017-5495?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-5495 being exploited?

There is no known exploitation of CVE-2017-5495 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2017-5495, GHSA-6629-rcxv-r9v7, MGASA-2017-0071, UBUNTU-CVE-2017-5495.

Is CVE-2017-5495 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free