Skip to content
OpenAdvisories
High SUSE-SU-2018:0456-1 5 CVEs

Security update for quagga

Published Feb 16, 2018 · Updated Feb 4, 2026

Summary

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]

Fixed packages 7

ReleasePackageFixed in
SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2 quagga 1.1.1-17.7.1
SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3 quagga 1.1.1-17.7.1
SUSE · SLES 12 SP2 Linux Enterprise Server for Raspberry Pi 12 SP2 quagga 1.1.1-17.7.1
SUSE · SLES for SAP 12 SP2 Linux Enterprise Server for SAP Applications 12 SP2 quagga 1.1.1-17.7.1
SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 quagga 1.1.1-17.7.1
SUSE · SLES 12 SP2 Linux Enterprise Software Development Kit 12 SP2 quagga 1.1.1-17.7.1
SUSE · SLES 12 SP3 Linux Enterprise Software Development Kit 12 SP3 quagga 1.1.1-17.7.1

Vulnerabilities 5

  • High 7.5
    CVE-2018-5379 EPSS 38%

    The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UPDATE mess…

  • High 7.1
    CVE-2018-5378 EPSS 74%

    The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a pee…

  • Medium 6.5
    CVE-2018-5381 EPSS 30%

    The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in…

  • Medium 4.3
    CVE-2018-5380 EPSS 15%

    The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP code-to-string conversion tables used for …

  • Unscored —
    CVE-2017-16227 EPSS 46%

    The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote attackers to cause a denial of servic…

References

  • report
    https://bugzilla.suse.com/1065641
  • report
    https://bugzilla.suse.com/1079798
  • report
    https://bugzilla.suse.com/1079799
  • report
    https://bugzilla.suse.com/1079800
  • report
    https://bugzilla.suse.com/1079801
  • web
    https://www.suse.com/security/cve/CVE-2017-16227
  • web
    https://www.suse.com/security/cve/CVE-2018-5378
  • web
    https://www.suse.com/security/cve/CVE-2018-5379
  • web
    https://www.suse.com/security/cve/CVE-2018-5380
  • web
    https://www.suse.com/security/cve/CVE-2018-5381