{"id":"CVE-2018-5378","aliases":["EUVD-2018-17150","GHSA-529c-38p9-5c53","SUSE-SU-2018:0455-1","SUSE-SU-2018:0456-1","SUSE-SU-2018:0457-1","SUSE-SU-2024:3426-1","openSUSE-SU-2024:11290-1"],"status":"published","title":"The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent...","description":"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.","severity":{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-07","score":0.742,"percentile":0.99489,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2018-02-16T01:03:32Z","modified":"2026-06-17T02:00:13Z","affected":[{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 6","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.22.1-16.4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.22.1-16.4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.22.1-16.4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.22.1-16.4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.7.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.15-0.30.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.15-0.30.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-LTSS","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.15-0.30.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.15-0.30.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.15-0.30.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.15-0.30.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.13.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.13.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-17.13.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"quagga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-2.14"}]}],"bundled":12}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"quagga","product":"bgpd"},{"vendor":"quagga","product":"quagga"}],"references":[{"url":"https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://usn.ubuntu.com/3573-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4115","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory"]},{"url":"http://savannah.nongnu.org/forum/forum.php?forum_id=9095","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201804-17","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://www.kb.cert.org/vuls/id/940439","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Third Party Advisory","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5378"},{"url":"https://github.com/advisories/GHSA-529c-38p9-5c53"},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180455-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1021669","tags":["report"]},{"url":"https://bugzilla.suse.com/1065641","tags":["report"]},{"url":"https://bugzilla.suse.com/1079798","tags":["report"]},{"url":"https://bugzilla.suse.com/1079799","tags":["report"]},{"url":"https://bugzilla.suse.com/1079800","tags":["report"]},{"url":"https://bugzilla.suse.com/1079801","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16227","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5495","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5378","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5379","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5380","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5381","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180456-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180457-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243426-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1069468","tags":["report"]},{"url":"https://bugzilla.suse.com/1202023","tags":["report"]},{"url":"https://bugzilla.suse.com/1229438","tags":["report"]},{"url":"https://bugzilla.suse.com/1230866","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15865","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-37032","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-44070","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2006-2223","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-1995","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5278","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5279","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5280","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5281","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-5378","description":"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.","status":"published","published":"2018-02-19T13:00:00Z","modified":"2024-09-16T20:16:44.677Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:35:01.28843Z"}],"euvd":[{"id":"EUVD-2018-17150","description":"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.","status":"published","published":"2018-02-19T13:00:00Z","modified":"2024-09-16T20:16:44Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:55:15.468069Z"}],"ghsa":[{"id":"GHSA-529c-38p9-5c53","title":"The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent...","description":"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.","status":"published","published":"2022-05-13T01:32:13Z","modified":"2023-02-01T05:08:27Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:50:46.174982Z"}],"nvd":[{"id":"CVE-2018-5378","description":"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.","status":"published","published":"2018-02-19T13:29:00.317Z","modified":"2026-06-17T02:00:13.05Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:23.783914Z"}],"osv":[{"id":"openSUSE-SU-2024:11290-1","title":"libfpm_pb0-1.2.4-2.14 on GA media","description":"These are all security issues fixed in the libfpm_pb0-1.2.4-2.14 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:19:56.149996Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2018:0455-1","title":"Security update for quagga","description":"This update for quagga fixes the following security issues:\n\n- The Quagga BGP daemon contained a bug in the AS_PATH size calculation that\n  could have been exploited to facilitate a remote denial-of-service attack via\n  specially crafted BGP UPDATE messages. [CVE-2017-16227, bsc#1065641]\n\n- The Quagga BGP daemon did not check whether data sent to peers via NOTIFY had\n  an invalid attribute length. It was possible to exploit this issue and cause\n  the bgpd process to leak sensitive information over the network to a\n  configured peer. [CVE-2018-5378, bsc#1079798]\n\n- The Quagga BGP daemon used to double-free memory when processing certain\n  forms of UPDATE messages. This issue could be exploited by sending an\n  optional/transitive UPDATE attribute that all conforming eBGP speakers should\n  pass along. Consequently, a single UPDATE message could have affected many\n  bgpd processes across a wide area of a network. Through this vulnerability,\n  attackers could potentially have taken over control of affected bgpd\n  processes remotely. [CVE-2018-5379, bsc#1079799]\n\n- It was possible to overrun internal BGP code-to-string conversion tables in\n  the Quagga BGP daemon. Configured peers could have exploited this issue and\n  cause bgpd to emit debug and warning messages into the logs that would\n  contained arbitrary bytes. [CVE-2018-5380, bsc#1079800]\n\n- The Quagga BGP daemon could have entered an infinite loop if sent an invalid\n  OPEN message by a configured peer. If this issue was exploited, then bgpd\n  would cease to respond to any other events. BGP sessions would have been\n  dropped and not be reestablished. The CLI interface would have been\n  unresponsive. The bgpd daemon would have stayed in this state until\n  restarted. [CVE-2018-5381, bsc#1079801]\n\n- The Quagga daemon's telnet 'vty' CLI contains an unbounded memory allocation\n  bug that could be exploited for a denial-of-service attack on the daemon.\n  This issue has been fixed. [CVE-2017-5495, bsc#1021669]\n\n- The telnet 'vty' CLI of the Quagga daemon is no longer enabled by default,\n  because the passwords in the default 'zebra.conf' config file are now\n  disabled. The vty interface is available via 'vtysh' utility using pam\n  authentication to permit management access for root without password.\n  [bsc#1021669]\n","status":"published","published":"2018-02-16T01:03:32Z","modified":"2026-02-04T02:26:42.187851Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0456-1","title":"Security update for quagga","description":"This update for quagga fixes the security following issues:\n\n- The Quagga BGP daemon contained a bug in the AS_PATH size calculation that\n  could have been exploited to facilitate a remote denial-of-service attack via\n  specially crafted BGP UPDATE messages. [CVE-2017-16227, bsc#1065641]\n\n- The Quagga BGP daemon did not check whether data sent to peers via NOTIFY had\n  an invalid attribute length. It was possible to exploit this issue and cause\n  the bgpd process to leak sensitive information over the network to a\n  configured peer. [CVE-2018-5378, bsc#1079798]\n\n- The Quagga BGP daemon used to double-free memory when processing certain\n  forms of UPDATE messages. This issue could be exploited by sending an\n  optional/transitive UPDATE attribute that all conforming eBGP speakers should\n  pass along. Consequently, a single UPDATE message could have affected many\n  bgpd processes across a wide area of a network. Through this vulnerability,\n  attackers could potentially have taken over control of affected bgpd\n  processes remotely. [CVE-2018-5379, bsc#1079799]\n\n- It was possible to overrun internal BGP code-to-string conversion tables in\n  the Quagga BGP daemon. Configured peers could have exploited this issue and\n  cause bgpd to emit debug and warning messages into the logs that would\n  contained arbitrary bytes. [CVE-2018-5380, bsc#1079800]\n\n- The Quagga BGP daemon could have entered an infinite loop if sent an invalid\n  OPEN message by a configured peer. If this issue was exploited, then bgpd\n  would cease to respond to any other events. BGP sessions would have been\n  dropped and not be reestablished. The CLI interface would have been\n  unresponsive. The bgpd daemon would have stayed in this state until\n  restarted. [CVE-2018-5381, bsc#1079801]\n","status":"published","published":"2018-02-16T01:05:40Z","modified":"2026-02-04T02:47:22.650967Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0457-1","title":"Security update for quagga","description":"This update for quagga fixes the following issues:\n\n- The Quagga BGP daemon contained a bug in the AS_PATH size calculation that\n  could have been exploited to facilitate a remote denial-of-service attack via\n  specially crafted BGP UPDATE messages. [CVE-2017-16227, bsc#1065641]\n\n- The Quagga BGP daemon did not check whether data sent to peers via NOTIFY had\n  an invalid attribute length. It was possible to exploit this issue and cause\n  the bgpd process to leak sensitive information over the network to a\n  configured peer. [CVE-2018-5378, bsc#1079798]\n\n- The Quagga BGP daemon used to double-free memory when processing certain\n  forms of UPDATE messages. This issue could be exploited by sending an\n  optional/transitive UPDATE attribute that all conforming eBGP speakers should\n  pass along. Consequently, a single UPDATE message could have affected many\n  bgpd processes across a wide area of a network. Through this vulnerability,\n  attackers could potentially have taken over control of affected bgpd\n  processes remotely. [CVE-2018-5379, bsc#1079799]\n\n- It was possible to overrun internal BGP code-to-string conversion tables in\n  the Quagga BGP daemon. Configured peers could have exploited this issue and\n  cause bgpd to emit debug and warning messages into the logs that would\n  contained arbitrary bytes. [CVE-2018-5380, bsc#1079800]\n\n- The Quagga BGP daemon could have entered an infinite loop if sent an invalid\n  OPEN message by a configured peer. If this issue was exploited, then bgpd\n  would cease to respond to any other events. BGP sessions would have been\n  dropped and not be reestablished. The CLI interface would have been\n  unresponsive. The bgpd daemon would have stayed in this state until\n  restarted. [CVE-2018-5381, bsc#1079801]\n\n- The Quagga daemon's telnet 'vty' CLI contains an unbounded memory allocation\n  bug that could be exploited for a denial-of-service attack on the daemon.\n  This issue has been fixed. [CVE-2017-5495, bsc#1021669]\n\n- The telnet 'vty' CLI of the Quagga daemon is no longer enabled by default,\n  because the passwords in the default 'zebra.conf' config file are now\n  disabled. The vty interface is available via 'vtysh' utility using pam\n  authentication to permit management access for root without password.\n  [bsc#1021669]\n","status":"published","published":"2018-02-16T02:45:00Z","modified":"2026-02-04T03:01:15.777659Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2024:3426-1","title":"Security update for quagga","description":"This update for quagga fixes the following issues:\n\n- CVE-2017-15865: sensitive information disclosed when malformed BGP UPDATE packets are processed. (bsc#1230866)\n- CVE-2024-44070: crash when parsing Tunnel Encap attribute due to no length check. (bsc#1229438)\n- CVE-2022-37032: out-of-bounds read when parsing a BGP capability message due to incorrect size check. (bsc#1202023)\n\nBug fixes:\n- References to /var/adm/fillup-templates replaced with new %_fillupdir macro. (bsc#1069468)\n","status":"published","published":"2024-09-24T16:42:36Z","modified":"2026-02-04T03:38:36.649013Z","updated_at":"2026-11-02T15:53:55.639015Z"}]}}
