The bgp_nlri_parse_vpnv4 function in bgp_mplsvpn.c in the VPNv4 NLRI parser in bgpd in Quagga before 1.0.20160309, when a certain VPNv4 configuration is used, relies on a Labeled-VPN SAFI routes-data length field during a data copy, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted packet.
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://www.securityfocus.com/bid/84318 | vdb entry |
http://rhn.redhat.com/errata/RHSA-2017-0794.html | vendor advisory |
http://lists.opensuse.org/opensuse-updates/2016-03/msg00102.html | vendor advisory |
http://www.debian.org/security/2016/dsa-3532 | vendor advisory |
http://www.kb.cert.org/vuls/id/270232 | third party advisory us government resource |
http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442 | |
https://security.gentoo.org/glsa/201610-03 | vendor advisory |
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html | |
http://lists.opensuse.org/opensuse-updates/2016-03/msg00117.html | vendor advisory |
http://nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt | |
http://www.ubuntu.com/usn/USN-2941-1 | vendor advisory |