CVE-2018-5378
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent...
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.1
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.
- Record
CVE-2018-5378- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2018-17150
7.1
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.
- Record
EUVD-2018-17150- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-529c-38p9-5c53
5.9
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent...
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.
- Record
GHSA-529c-38p9-5c53- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
7.1
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.
- Record
CVE-2018-5378- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H - CVSS 2.0
- 4.9 Medium
AV:N/AC:M/Au:S/C:P/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11290-1 No score
libfpm_pb0-1.2.4-2.14 on GA media
These are all security issues fixed in the libfpm_pb0-1.2.4-2.14 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11290-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0455-1 No score
Security update for quagga
This update for quagga fixes the following security issues:
-
The Quagga BGP daemon contained a bug in the AS_PATH size calculation that could have been exploited to facilitate a remote denial-of-service attack via specially crafted BGP UPDATE messages. [CVE-2017-16227, bsc#1065641]
-
The Quagga BGP daemon did not check whether data sent to peers via NOTIFY had an invalid attribute length. It was possible to exploit this issue and cause the bgpd process to leak sensitive information over the network to a configured peer. [CVE-2018-5378, bsc#1079798]
-
The Quagga BGP daemon used to double-free memory when processing certain forms of UPDATE messages. This issue could be exploited by sending an optional/transitive UPDATE attribute that all conforming eBGP speakers should pass along. Consequently, a single UPDATE message could have affected many bgpd processes across a wide area of a network. Through this vulnerability, attackers could potentially have taken over control of affected bgpd processes remotely. [CVE-2018-5379, bsc#1079799]
-
It was possible to overrun internal BGP code-to-string conversion tables in the Quagga BGP daemon. Configured peers could have exploited this issue and cause bgpd to emit debug and warning messages into the logs that would contained arbitrary bytes. [CVE-2018-5380, bsc#1079800]
-
The Quagga BGP daemon could have entered an infinite loop if sent an invalid OPEN message by a configured peer. If this issue was exploited, then bgpd would cease to respond to any other events. BGP sessions would have been dropped and not be reestablished. The CLI interface would have been unresponsive. The bgpd daemon would have stayed in this state until restarted. [CVE-2018-5381, bsc#1079801]
-
The Quagga daemon's telnet 'vty' CLI contains an unbounded memory allocation bug that could be exploited for a denial-of-service attack on the daemon. This issue has been fixed. [CVE-2017-5495, bsc#1021669]
-
The telnet 'vty' CLI of the Quagga daemon is no longer enabled by default, because the passwords in the default 'zebra.conf' config file are now disabled. The vty interface is available via 'vtysh' utility using pam authentication to permit management access for root without password. [bsc#1021669]
- Record
SUSE-SU-2018:0455-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0456-1 No score
Security update for quagga
This update for quagga fixes the security following issues:
-
The Quagga BGP daemon contained a bug in the AS_PATH size calculation that could have been exploited to facilitate a remote denial-of-service attack via specially crafted BGP UPDATE messages. [CVE-2017-16227, bsc#1065641]
-
The Quagga BGP daemon did not check whether data sent to peers via NOTIFY had an invalid attribute length. It was possible to exploit this issue and cause the bgpd process to leak sensitive information over the network to a configured peer. [CVE-2018-5378, bsc#1079798]
-
The Quagga BGP daemon used to double-free memory when processing certain forms of UPDATE messages. This issue could be exploited by sending an optional/transitive UPDATE attribute that all conforming eBGP speakers should pass along. Consequently, a single UPDATE message could have affected many bgpd processes across a wide area of a network. Through this vulnerability, attackers could potentially have taken over control of affected bgpd processes remotely. [CVE-2018-5379, bsc#1079799]
-
It was possible to overrun internal BGP code-to-string conversion tables in the Quagga BGP daemon. Configured peers could have exploited this issue and cause bgpd to emit debug and warning messages into the logs that would contained arbitrary bytes. [CVE-2018-5380, bsc#1079800]
-
The Quagga BGP daemon could have entered an infinite loop if sent an invalid OPEN message by a configured peer. If this issue was exploited, then bgpd would cease to respond to any other events. BGP sessions would have been dropped and not be reestablished. The CLI interface would have been unresponsive. The bgpd daemon would have stayed in this state until restarted. [CVE-2018-5381, bsc#1079801]
- Record
SUSE-SU-2018:0456-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0457-1 No score
Security update for quagga
This update for quagga fixes the following issues:
-
The Quagga BGP daemon contained a bug in the AS_PATH size calculation that could have been exploited to facilitate a remote denial-of-service attack via specially crafted BGP UPDATE messages. [CVE-2017-16227, bsc#1065641]
-
The Quagga BGP daemon did not check whether data sent to peers via NOTIFY had an invalid attribute length. It was possible to exploit this issue and cause the bgpd process to leak sensitive information over the network to a configured peer. [CVE-2018-5378, bsc#1079798]
-
The Quagga BGP daemon used to double-free memory when processing certain forms of UPDATE messages. This issue could be exploited by sending an optional/transitive UPDATE attribute that all conforming eBGP speakers should pass along. Consequently, a single UPDATE message could have affected many bgpd processes across a wide area of a network. Through this vulnerability, attackers could potentially have taken over control of affected bgpd processes remotely. [CVE-2018-5379, bsc#1079799]
-
It was possible to overrun internal BGP code-to-string conversion tables in the Quagga BGP daemon. Configured peers could have exploited this issue and cause bgpd to emit debug and warning messages into the logs that would contained arbitrary bytes. [CVE-2018-5380, bsc#1079800]
-
The Quagga BGP daemon could have entered an infinite loop if sent an invalid OPEN message by a configured peer. If this issue was exploited, then bgpd would cease to respond to any other events. BGP sessions would have been dropped and not be reestablished. The CLI interface would have been unresponsive. The bgpd daemon would have stayed in this state until restarted. [CVE-2018-5381, bsc#1079801]
-
The Quagga daemon's telnet 'vty' CLI contains an unbounded memory allocation bug that could be exploited for a denial-of-service attack on the daemon. This issue has been fixed. [CVE-2017-5495, bsc#1021669]
-
The telnet 'vty' CLI of the Quagga daemon is no longer enabled by default, because the passwords in the default 'zebra.conf' config file are now disabled. The vty interface is available via 'vtysh' utility using pam authentication to permit management access for root without password. [bsc#1021669]
- Record
SUSE-SU-2018:0457-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3426-1 No score
Security update for quagga
This update for quagga fixes the following issues:
- CVE-2017-15865: sensitive information disclosed when malformed BGP UPDATE packets are processed. (bsc#1230866)
- CVE-2024-44070: crash when parsing Tunnel Encap attribute due to no length check. (bsc#1229438)
- CVE-2022-37032: out-of-bounds read when parsing a BGP capability message due to incorrect size check. (bsc#1202023)
Bug fixes:
- References to /var/adm/fillup-templates replaced with new %_fillupdir macro. (bsc#1069468)
- Record
SUSE-SU-2024:3426-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
quaggaSUSE:OpenStack Cloud 6 From an advisory covering 6 CVEs |
before 0.99.22.1-16.4.1 | 0.99.22.1-16.4.1 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 6 CVEs |
before 0.99.22.1-16.4.1 | 0.99.22.1-16.4.1 |
quaggaSUSE:Linux Enterprise Server 12-LTSS From an advisory covering 6 CVEs |
before 0.99.22.1-16.4.1 | 0.99.22.1-16.4.1 |
quaggaSUSE:Linux Enterprise Server 12 SP1-LTSS From an advisory covering 6 CVEs |
before 0.99.22.1-16.4.1 | 0.99.22.1-16.4.1 |
quaggaSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
quaggaSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
quaggaSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
quaggaSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
quaggaSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 5 CVEs |
before 1.1.1-17.7.1 | 1.1.1-17.7.1 |
quaggaSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 6 CVEs |
before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
quaggaSUSE:Linux Enterprise Point of Sale 11 SP3 From an advisory covering 6 CVEs |
before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
quaggaSUSE:Linux Enterprise Server 11 SP3-LTSS From an advisory covering 6 CVEs |
before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
quaggaSUSE:Linux Enterprise Server 11 SP3-TERADATA From an advisory covering 6 CVEs |
before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
quaggaSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 6 CVEs |
before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 6 CVEs |
before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
quaggaSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 7 CVEs |
before 1.1.1-17.13.1 | 1.1.1-17.13.1 |
quaggaSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 7 CVEs |
before 1.1.1-17.13.1 | 1.1.1-17.13.1 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 7 CVEs |
before 1.1.1-17.13.1 | 1.1.1-17.13.1 |
quaggaopenSUSE:Tumbleweed From an advisory covering 12 CVEs |
before 1.2.4-2.14 | 1.2.4-2.14 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-5378 is a high vulnerability (CVSS 7.1) in Quagga Bgpd, published February 16, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 74.2%, the 99th percentile. No source names a fixed version.
References
gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt
usn.ubuntu.com/3573-1
debian.org/security/2018/dsa-4115
savannah.nongnu.org/forum/forum.php?forum_id=9095
security.gentoo.org/glsa/201804-17
kb.cert.org/vuls/id/940439
Show 31 moreShow less
nvd.nist.gov/vuln/detail/CVE-2018-5378
github.com/advisories/GHSA-529c-38p9-5c53
suse.com/support/update/announcement/2018/suse-su-20180455-1
bugzilla.suse.com/1021669
bugzilla.suse.com/1065641
bugzilla.suse.com/1079798
bugzilla.suse.com/1079799
bugzilla.suse.com/1079800
bugzilla.suse.com/1079801
suse.com/security/cve/CVE-2017-16227
suse.com/security/cve/CVE-2017-5495
suse.com/security/cve/CVE-2018-5378
suse.com/security/cve/CVE-2018-5379
suse.com/security/cve/CVE-2018-5380
suse.com/security/cve/CVE-2018-5381
suse.com/support/update/announcement/2018/suse-su-20180456-1
suse.com/support/update/announcement/2018/suse-su-20180457-1
suse.com/support/update/announcement/2024/suse-su-20243426-1
bugzilla.suse.com/1069468
bugzilla.suse.com/1202023
bugzilla.suse.com/1229438
bugzilla.suse.com/1230866
suse.com/security/cve/CVE-2017-15865
suse.com/security/cve/CVE-2022-37032
suse.com/security/cve/CVE-2024-44070
suse.com/security/cve/CVE-2006-2223
suse.com/security/cve/CVE-2007-1995
suse.com/security/cve/CVE-2018-5278
suse.com/security/cve/CVE-2018-5279
suse.com/security/cve/CVE-2018-5280
suse.com/security/cve/CVE-2018-5281