Memory corruption in Quagga - CVE-2017-5495

 

Memory corruption in Quagga - CVE-2017-5495

Published: February 16, 2018 / Updated: February 19, 2018


Vulnerability identifier: #VU10615
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-5495
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists due to unbounded memory allocation in the telnet 'vty' CLI. A remote attacker able to connect to the TCP ports can  send very long strings without a newline, cause the Quagga daemon to allocate unbounded memory and system crash.

Affected software

Quagga
Debian Linux
SUSE OpenStack Cloud
SUSE Linux
Ubuntu
Fedora
quagga (Alpine package)
quagga

How to mitigate CVE-2017-5495

Update to version 1.1.

quagga (Alpine package) - update to 1.1.1-r0
quagga - addressed in versions 0.99.24.1-5.fc24, 0.99.24.1-5.fc25

External References

Related Security Bulletins