Loop with Unreachable Exit Condition ('Infinite Loop') Affecting quagga package, versions <1.1.1-3+deb9u2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
5.4% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN9-QUAGGA-319647
  • published19 Feb 2018
  • disclosed19 Feb 2018

Introduced: 19 Feb 2018

CVE-2018-5381  (opens in a new tab)
CWE-835  (opens in a new tab)
CWE-228  (opens in a new tab)

How to fix?

Upgrade Debian:9 quagga to version 1.1.1-3+deb9u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream quagga package and not the quagga package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in the bgp_packet.c:bgp_capability_msg_parse function. The parser can enter an infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.