VDB

CVE-2017-5495

CVE-2017-5495 PUBLISHED

Reported by mitre · Published January 24, 2017

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
quaggaAlpine1.1.1-r0
quaggaUbuntu:14.04:LTS0.99.22.4-3ubuntu1.4
quaggaUbuntu:16.04:LTS0.99.24.1-2ubuntu1.3
quaggaquagga1.1.0

Affected products

VendorProductVersions
n/an/an/a
alpinequagga0
n/an/a*

Timeline

  • Jan 24, 2017 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-5495
vulnetix vdb fixes CVE-2017-5495

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-5495/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • RHSA-2017:0794 vendor-advisoryx_refsource_REDHAT
  • x_refsource_CONFIRM
  • x_refsource_CONFIRM
  • 1037688 vdb-entryx_refsource_SECTRACK
  • x_refsource_CONFIRM
  • 95745 vdb-entryx_refsource_BID
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›