cbcvebase.
CVE-2018-5379
published 2018-02-19

CVE-2018-5379: 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…

PriorityP262critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
39.05%
98.4th percentile
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

20 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
quaggabgpd>= bpgd < 1.2.31.2.3
quaggaquagga<= 1.2.2
quaggaquagga>= 0 < 0.99.22.4-3ubuntu1.50.99.22.4-3ubuntu1.5
quaggaquagga>= 0 < 0.99.24.1-2ubuntu1.40.99.24.1-2ubuntu1.4
redhatenterprise_linux_server
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_eus
redhatenterprise_linux_server_eus
redhatenterprise_linux_server_eus
redhatenterprise_linux_server_tus
redhatenterprise_linux_server_tus
redhatenterprise_linux_workstation
siemensruggedcom_rox_ii_firmware< 2.13.02.13.0

Detection & IOCsextracted from sources · hover to see the quote

  • Trigger vector: BGP UPDATE message containing cluster-list and/or unknown attributes causes double-free in bgpd; monitor for malformed BGP UPDATE messages with these attribute types on TCP port 179
  • The exploit can propagate across eBGP peers without direct attacker access — a single malicious UPDATE with optional/transitive attributes can trigger the double-free in many bgpd instances across a network; alert on unexpected bgpd crashes or restarts
  • Attacker does not need to be a configured BGP peer — spoofing a malicious BGP UPDATE message within the network is sufficient; monitor for BGP sessions from unexpected sources
  • Upstream security advisory with technical details available at https://www.quagga.net/security/Quagga-2018-1114.txt — use for signature/rule development
  • ·Glibc heap protection mitigations make exploitation harder but bypasses may still be possible; do not rely solely on OS-level mitigations
  • ·All versions of Quagga bgpd prior to 1.2.3 are likely affected; Siemens RUGGEDCOM ROX II all versions prior to v2.13.0 are also affected
  • ·No known public exploits specifically target these vulnerabilities as of the advisory date
  • ·Red Hat Enterprise Linux 5 and 6 quagga packages will not be fixed; RHEL 8 is not affected; RHEL 7 was addressed via RHSA-2018:0377

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat7.5HIGH
vendor_ubuntu7.1HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.