CVE-2018-5381

MEDIUM
6.5
CVSS Score
Published: February 19, 2018 at 01:00 PM UTC
Updated: June 17, 2026 at 02:00 AM UTC
5 products affected across 4 vendorsDebian LinuxUbuntu LinuxQuagga

Using bgpd by Quagga?

Get instant alerts when new vulnerabilities affect bgpd - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 30%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 1.2.2bpgd ≤ v < 1.2.3bpgd
Affected range stops below 1.2.3, so it looks safe — our inference, not a vendor statement
v < 2.13.0
Affected range stops below 2.13.0, so it looks safe — our inference, not a vendor statement
siemens-ruggedcom-rox-ii (same device)
All versions

References (8)

Third Party Advisoryx_refsource_CERT-VNUS Government Resource
http://www.kb.cert.org/vuls/id/940439
x_refsource_CONFIRMMitigationThird Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/201804-17
Vendor Advisoryx_refsource_UBUNTUThird Party Advisory
https://usn.ubuntu.com/3573-1/
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2018/dsa-4115

CVSS

6.5MEDIUMcertcc
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-228CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card