cve.bz

CVE-2018-5381 Infinite Loop

7.5 highEPSS 30%

High (7.5). EPSS 30% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
30% (unchanged from 30% a week ago; 30% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
CWE-228 Improper Handling of Syntactically Invalid Structure
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-5381 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-5381?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-5381?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-5381 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Quagga bgpdfrom bpgd before 1.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7quagga0.99.22.4-1+wheezy3+deb7u3DLA-1286-1
Debian8quagga0.99.23.1-1+deb8u5DSA-4115-1
Debian9quagga1.1.1-3+deb9u2DSA-4115-1
Ubuntu14.04:LTSquagga0.99.22.4-3ubuntu1.5UBUNTU-CVE-2018-5381 USN-3573-1
Ubuntu16.04:LTSquagga0.99.24.1-2ubuntu1.4UBUNTU-CVE-2018-5381 USN-3573-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 3 morequagga0.99.15-0.30.3.1SUSE-SU-2018:0457-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 SP1 and 1 morequagga0.99.22.1-16.4.1SUSE-SU-2018:0455-1
SUSELinux Enterprise Server 12 SP2, Linux Enterprise Server 12 SP3, Linux Enterprise Server for Raspberry Pi 12 SP2 and 4 morequagga1.1.1-17.7.1SUSE-SU-2018:0456-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5quagga1.1.1-17.13.1SUSE-SU-2024:3426-1
openSUSETumbleweedquagga1.2.4-2.14openSUSE-SU-2024:11290-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5quaggaWill not fix
Red Hat Enterprise Linux 6quaggaWill not fix
Red Hat Enterprise Linux 7quaggaWill not fix
Red Hat Enterprise Linux 8quaggaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-5381.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-19-099-05ICSA-19-099-05 Siemens RUGGEDCOM ROX II2019-04-09MultipleRUGGEDCOM ROX IInone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON