Loop with Unreachable Exit Condition ('Infinite Loop') Affecting tcpdump package, versions <4.9.2-0ubuntu0.16.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.83% (82nd 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-UBUNTU1604-TCPDUMP-390011
  • published14 Sept 2017
  • disclosed14 Sept 2017

Introduced: 14 Sep 2017

CVE-2017-12989  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 tcpdump to version 4.9.2-0ubuntu0.16.04.1 or higher.

NVD Description

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

The RESP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-resp.c:resp_get_length().