CVE-2016-2342
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 13.3% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 13.3% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 13.3% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Quagga 0.99.24
- Debian Linux 7.0
- Debian Linux 8.0
Attack profile CVSS 3.0 · 8.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-2342.md and follow it. Check whether this project is affected by CVE-2016-2342. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442
- http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442
References
- http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00102.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00117.html
- http://nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt
- http://rhn.redhat.com/errata/RHSA-2017-0794.html
- http://www.debian.org/security/2016/dsa-3532
- http://www.kb.cert.org/vuls/id/270232
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securityfocus.com/bid/84318
- http://www.ubuntu.com/usn/USN-2941-1
- https://security.gentoo.org/glsa/201610-03
- http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00102.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00117.html
- http://nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt
- http://rhn.redhat.com/errata/RHSA-2017-0794.html
- http://www.debian.org/security/2016/dsa-3532
- http://www.kb.cert.org/vuls/id/270232
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securityfocus.com/bid/84318
- http://www.ubuntu.com/usn/USN-2941-1
- https://security.gentoo.org/glsa/201610-03