Back to CVE catalog
CVE-2017-5495

Unbounded memory allocation in telnet 'vty' interface in Quagga

Multiple products

At a glance

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 description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.0

7.5High
Published:
Updated:
EPSS:
18.803%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Red HatRed Hat Enterprise Linux 5Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 7Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server Optional (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Workstation (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Workstation Optional (v. 6)Affected versions:Source does not specify a version range
Vendor:quaggaquaggaAffected versions:
≤ 1.1.0Show full version range for quagga
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–7 of 7 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)5.9 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
[email protected] · NVD (Primary)7.8 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories10

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences