{"vuid":"VU#270232","idnumber":"270232","name":"Quagga bgpd with BGP peers enabled for VPNv4 contains a buffer overflow vulnerability","keywords":["quagga","bgpd","zclient","buffer overflow"],"overview":"Quagga, version 0.99.24.1 and earlier, contains a buffer overflow vulnerability in bgpd with BGP peers enabled for VPNv4 that may leveraged to gain code execution.","clean_desc":"CWE-121: Stack-based Buffer Overflow - CVE-2016-2342 Quagga is a software routing suite that implements numerous routing protocols for Unix-based platforms. A memcpy function in the VPNv4 NLRI parser of bgp_mplsvpn.c does not properly check the upper-bound length of received Labeled-VPN SAFI routes data, which may allow for arbitrary code execution on the stack. Note that hosts are only vulnerable if bgpd is running with BGP peers enabled for VPNv4, which is not a default configuration. For more details, refer to the Quagga changelog and commit notes.","impact":"A malicious BGP peer may execute arbitrary code in particularly configured remote bgpd hosts.","resolution":"Apply an update Quagga has released version 1.0.20160309 which addresses this issue.","workarounds":"","sysaffected":"","thanks":"Thanks to Kostya Kortchinsky for reporting this vulnerability.","author":"This document was written by Joel Land.","public":["http://www.quagga.net/","http://nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt","http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442"],"cveids":["CVE-2016-2342"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2015-11-17T19:44:29Z","publicdate":"2016-03-10T00:00:00Z","datefirstpublished":"2016-03-10T21:41:29Z","dateupdated":"2016-03-10T21:41:29Z","revision":12,"vrda_d1_directreport":"1","vrda_d1_population":"4","vrda_d1_impact":"3","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"H","cvss_authentication":null,"cvss_confidentialityimpact":"C","cvss_integrityimpact":"C","cvss_availabilityimpact":"C","cvss_exploitablity":null,"cvss_remediationlevel":"OF","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"L","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"7.6","cvss_basevector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","cvss_temporalscore":"6","cvss_environmentalscore":"1.4896831824","cvss_environmentalvector":"CDP:ND/TD:L/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}