7.5
HIGH
CVE-2018-5381
Quagga BGP Denial of Service Capability Parsing Vulnerability
Description

The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in the bgp_packet.c:bgp_capability_msg_parse function. The parser can enter an infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.

INFO

Published Date :

Feb. 19, 2018, 1:29 p.m.

Last Modified :

Nov. 21, 2024, 4:08 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2018-5381 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Siemens ruggedcom_rox_ii_firmware
2 Siemens ruggedcom_rox_ii
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Quagga quagga
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-5381 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-5381 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://savannah.nongnu.org/forum/forum.php?forum_id=9095
    Added Reference http://www.kb.cert.org/vuls/id/940439
    Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf
    Added Reference https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt
    Added Reference https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html
    Added Reference https://security.gentoo.org/glsa/201804-17
    Added Reference https://usn.ubuntu.com/3573-1/
    Added Reference https://www.debian.org/security/2018/dsa-4115
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 CERT/CC AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CERT/CC CWE-228
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-400 CWE-835
  • Modified Analysis by [email protected]

    Apr. 12, 2019

    Action Type Old Value New Value
    Changed Reference Type https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf No Types Assigned https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf Mitigation, Third Party Advisory
    Added CPE Configuration AND OR *cpe:2.3:o:siemens:ruggedcom_rox_ii_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.13.0 OR cpe:2.3:h:siemens:ruggedcom_rox_ii:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 09, 2019

    Action Type Old Value New Value
    Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 05, 2019

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html Mailing List, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3573-1/ No Types Assigned https://usn.ubuntu.com/3573-1/ Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201804-17 No Types Assigned https://security.gentoo.org/glsa/201804-17 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 21, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201804-17 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3573-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 12, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html Third Party Advisory
    Changed Reference Type http://www.kb.cert.org/vuls/id/940439 No Types Assigned http://www.kb.cert.org/vuls/id/940439 Third Party Advisory, US Government Resource
    Changed Reference Type https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt No Types Assigned https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt Vendor Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4115 No Types Assigned https://www.debian.org/security/2018/dsa-4115 Third Party Advisory
    Changed Reference Type http://savannah.nongnu.org/forum/forum.php?forum_id=9095 No Types Assigned http://savannah.nongnu.org/forum/forum.php?forum_id=9095 Third Party Advisory
    Added CWE CWE-400
    Added CPE Configuration OR *cpe:2.3:a:quagga:quagga:*:*:*:*:*:*:*:* versions up to (including) 1.2.2
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 20, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4115 [No Types Assigned]
    Added Reference https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-5381 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-5381 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

5.40 }} -7.16%

score

0.93033

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability