Buffer overflow in Quagga
CVE-2016-2342
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.133, 96.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Quagga — versions 0.99.24
- Debian Linux — versions 7.0, 8.0
Weakness classification (CWE)
References
- www.securityfocus.com/bid/84318 (vdb-entry)
- RHSA-2017:0794 (vendor-advisory)
- openSUSE-SU-2016:0863 (vendor-advisory)
- DSA-3532 (vendor-advisory)
- VU#270232 (US Government Resource, Third Party Advisory, third-party-advisory)
- git.savannah.gnu.org/cgit/quagga.git/commit/
- GLSA-201610-03 (vendor-advisory)
- www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- openSUSE-SU-2016:0888 (vendor-advisory)
- nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt