Buffer overflow in Quagga - CVE-2016-1245

 

Buffer overflow in Quagga - CVE-2016-1245

Published: February 23, 2017 / Updated: July 28, 2020


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.


Affected software

Quagga
SUSE Linux
Ubuntu
Opensuse
quagga (Alpine package)
quagga (Ubuntu package)

How to mitigate CVE-2016-1245

Install update from vendor's website.

Quagga - update to 1.0.20161017
quagga (Alpine package) - update to 0.99.23.1-r3
quagga (Ubuntu package) - addressed in versions 0.99.20.1-0ubuntu0.12.04.6, 0.99.22.4-3ubuntu1.3, 0.99.24.1-2ubuntu1.2, 1.0.20160315-2ubuntu0.1

External References

Related Security Bulletins