CVE-2017-5205: tcpdump buffer overflow in ISAKMP parser

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

A vulnerability exists in tcpdump, a widely used tool for monitoring and analyzing network traffic. An attacker can exploit this flaw by sending specially crafted network packets to a system where tcpdump is running, or by tricking a user into opening a malicious capture file. This could lead to a complete system crash or allow the attacker to execute unauthorized code, potentially compromising the security of the network monitoring environment.

Quick answers

Is CVE-2017-5205 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-5205 being exploited in the wild.
How severe is CVE-2017-5205?
Critical severity, with a CVSS score of 9.8, published 28 January 2017.
Which products and versions are affected?
tcpdump tcpdump < 4.9.0.
Is there a fix for CVE-2017-5205?
A patch was published on 2017-01-29: Debian security update released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2017-5205 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2017-5205?
Check whether anything you run is named in the advisory. 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 the ISAKMP (Internet Security Association and Key Management Protocol) parser of tcpdump versions prior to 4.9.0. The flaw is located in the 'ikev2_e_print()' function within 'print-isakmp.c'. A remote attacker can trigger this overflow by sending specially crafted IKEv2 packets to a network segment being monitored by tcpdump in live capture mode, or by providing a malicious pcap file for offline analysis. 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 resolved in version 4.9.0.

Affected products

  • tcpdump tcpdump < 4.9.0

Timeline

  • 2017-01-26: disclosed: Initial upstream security release announcement
  • 2017-01-27: advisory: NVD published date
  • 2017-01-29: patched: Debian security update released

References

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