quagga: Infinite loop issue triggered by invalid OPEN message allows denial-of-service
Published Feb 19, 2018
7.5
HIGHCVSS 3.0
EPSS 30.16%
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 products
-
- Version bpgdStatusaffectedConstraints<1.2.3
- Version
Configuration 2
- 14.04
- 16.04
- 17.10
Configuration 3
- 7.0
- 8.0
- 9.0
Configuration 4
- < 2.13.0
Running on/with
- n/a
No data.
Red Hat Enterprise Linux 5
quagga
Will not fix
Red Hat Enterprise Linux 6
quagga
Will not fix
Red Hat Enterprise Linux 7
quagga
Will not fix
Red Hat Enterprise Linux 8
quagga
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | quagga | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | quagga | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | quagga | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | quagga | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (CVE.org) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 30.16% (0.30162) | 98.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 30.46% (0.30462) | 97.99th | v5 (v2026.06.15) |
| Mar 27, 2026 | 5.59% (0.05590) | 90.25th | v4 (v2025.03.14) |
| Nov 21, 2025 | 4.04% (0.04045) | 88.02th | v4 (v2025.03.14) |
| Nov 18, 2025 | 17.21% (0.17212) | 94.51th | v4 (v2025.03.14) |
| Nov 4, 2025 | 4.37% (0.04371) | 88.44th | v4 (v2025.03.14) |
| Nov 3, 2025 | 11.13% (0.11134) | 93.19th | v4 (v2025.03.14) |
| Mar 17, 2025 | 10.09% (0.10093) | 92.51th | v4 (v2025.03.14) |
| Dec 17, 2024 | 5.40% (0.05399) | 93.03th | v3 (v2023.03.01) |
| Dec 12, 2024 | 12.56% (0.12562) | 95.68th | v3 (v2023.03.01) |
| Sep 15, 2023 | 12.24% (0.12238) | 94.72th | v3 (v2023.03.01) |
| Jul 13, 2023 | 15.41% (0.15413) | 95.14th | v3 (v2023.03.01) |
| Mar 7, 2023 | 20.29% (0.20295) | 95.54th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.18% (0.01183) | 35.15th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.31% (0.02314) | 53.75th | v1 |
| Jan 6, 2022 | 2.31% (0.02314) | 53.29th | v1 |
| Sep 1, 2021 | 2.31% (0.02314) | 78.25th | v1 |
| Apr 14, 2021 | 2.31% (0.02314) | 0.00th | v1 |
References (13)
- http://savannah.nongnu.org/forum/forum.php?forum_id=9095 x_refsource_CONFIRMThird Party Advisory
- http://www.kb.cert.org/vuls/id/940439 third-party-advisoryx_refsource_CERT-VNThird Party AdvisoryUS Government Resource
- https://access.redhat.com/security/cve/CVE-2018-5381 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1542992 Issue Tracking
- https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf x_refsource_CONFIRMMitigationThird Party Advisory
- https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt x_refsource_CONFIRMVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5381
- https://security.gentoo.org/glsa/201804-17 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3573-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5381
- https://www.debian.org/security/2018/dsa-4115 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.quagga.net/security/Quagga-2018-1975.txt
Change history (0)
No recorded changes yet.