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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://rhn.redhat.com/errata/RHSA-2017-0794.html | vendor advisory |
https://security.gentoo.org/glsa/201701-48 | vendor advisory |
http://www.securityfocus.com/bid/93775 | vdb entry third party advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1386109 | issue tracking third party advisory |
http://www.gossamer-threads.com/lists/quagga/users/31952 | mailing list third party advisory mitigation |
https://www.debian.org/security/2016/dsa-3695 | third party advisory vendor advisory |
https://github.com/Quagga/quagga/commit/cfb1fae25f8c092e0d17073eaf7bd428ce1cd546 | third party advisory patch |