CVE-2017-5485: Tcpdump buffer overflow in ISO CLNS parser lookup_nsap function

CVE-2017-5485 · Severity: critical · CVSS 9.8 · Published 2017-01-28

A vulnerability was found in tcpdump, a widely used tool for monitoring and analyzing network traffic. By sending specially crafted network packets or providing a malicious capture file, an attacker could cause the application to crash or potentially execute unauthorized code. This could lead to a disruption of network monitoring services or a compromise of the system running the tool.

Technologies: Tcpdump. Vendors: Tcpdump.

Quick answers

Is CVE-2017-5485 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-5485 being exploited in the wild.
How severe is CVE-2017-5485?
Critical severity, with a CVSS score of 9.8, published 28 January 2017.
Which products and versions are affected?
Tcpdump Project tcpdump before 4.9.0.
Is there a fix for CVE-2017-5485?
A patch was published on 2017-01-26: Upstream release 4.9.0 fixes the issue. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2017-5485 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2017-5485?
Check whether you run Tcpdump. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A buffer overflow vulnerability exists in tcpdump versions prior to 4.9.0 within the ISO CLNS (Connectionless Network Service) parser. The flaw is located in the lookup_nsap() function in addrtoname.c. A remote attacker can exploit this by sending specially crafted network packets to a segment where tcpdump is performing live capture, or by tricking a user into opening a malicious pcap file. Successful exploitation can lead to a denial of service (application crash) or potentially arbitrary code execution with the privileges of the tcpdump process. The issue is addressed in version 4.9.0.

Affected products

  • Tcpdump Project tcpdump before 4.9.0

Timeline

  • 2017-01-26: patched: Upstream release 4.9.0 fixes the issue.
  • 2017-01-28: disclosed: NVD publication date.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.