Vulnerabilities / CVE-2018-5379

critical

CVE-2018-5379

quagga: Double free vulnerability in bgpd when processing certain forms of UPDATE message allowing to crash or potentially execute arbitrary code

Published Modified CWE 415
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Ubuntu (medium).

Description

The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UPDATE message, containing cluster-list and/or unknown attributes. A successful attack could cause a denial of service or potentially allow an attacker to execute arbitrary code.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1quagga, quagga-contrib, quagga-debuginfo and 1 more0.99.22.4-4.17.amzn1
debian 7quagga0.99.22.4-1+wheezy3+deb7u3
debian 8quagga0.99.23.1-1+deb8u5
debian 9quagga1.1.1-3+deb9u2
Oracle Linux 7quagga, quagga-contrib, quagga-devel0.99.22.4-5.el7_4
Red Hatquagga, quagga-contrib, quagga-develno fix listed
ubuntu 14.04quagga0.99.22.4-3ubuntu1.5
ubuntu 16.04quagga0.99.24.1-2ubuntu1.4
ubuntu 16.04-ESMquagga0.99.24.1-2ubuntu1.4
ubuntu 17.10quagga1.1.1-3ubuntu0.2
Show all 17 entries from 10 sources
SourcePackageFixed in
amazon linux 1quagga0.99.22.4-4.17.amzn1
amazon linux 1quagga-contrib0.99.22.4-4.17.amzn1
amazon linux 1quagga-debuginfo0.99.22.4-4.17.amzn1
amazon linux 1quagga-devel0.99.22.4-4.17.amzn1
debian 7quagga0.99.22.4-1+wheezy3+deb7u3
debian 8quagga0.99.23.1-1+deb8u5
debian 9quagga1.1.1-3+deb9u2
Oracle Linux 7quagga0.99.22.4-5.el7_4
Oracle Linux 7quagga-contrib0.99.22.4-5.el7_4
Oracle Linux 7quagga-devel0.99.22.4-5.el7_4
Red Hatquaggano fix listed
Red Hatquagga-contribno fix listed
Red Hatquagga-develno fix listed
ubuntu 14.04quagga0.99.22.4-3ubuntu1.5
ubuntu 16.04quagga0.99.24.1-2ubuntu1.4
ubuntu 16.04-ESMquagga0.99.24.1-2ubuntu1.4
ubuntu 17.10quagga1.1.1-3ubuntu0.2

References

All 17 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.