Bug 1490578 (CVE-2017-13011) - CVE-2017-13011 tcpdump: Buffer overflow in util-print.c:bittok2str_internal()
Summary: CVE-2017-13011 tcpdump: Buffer overflow in util-print.c:bittok2str_internal()
Alias: CVE-2017-13011
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1475364 1490717 1491082
Blocks: 1490633
TreeView+ depends on / blocked
Reported: 2017-09-11 21:52 UTC by Adam Mariš
Modified: 2021-02-17 01:33 UTC (History)
8 users (show)

Fixed In Version: tcpdump 4.9.2
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in tcpdump's verbose printing of packet data. A crafted pcap file or specially crafted network traffic could cause tcpdump to write out of bounds in the BSS segment, potentially causing tcpdump to display truncated or incorrectly decoded fields or crash with a segmentation violation. This does not affect tcpdump when used with the -w option to save a pcap file.
Clone Of:
Last Closed: 2017-09-14 07:40:34 UTC

Attachments (Terms of Use)

Description Adam Mariš 2017-09-11 21:52:24 UTC
Buffer overflow in util-print.c:bittok2str_internal() was found.

This vulnerability can be exploited in two ways. The first is to produce a .pcap file with crafted packet(s) for the protocol(s) concerned and make the target system try to decode the file using tcpdump. The second is to send specially crafted packet(s) to the network segment where the target system is running a tcpdump process that is decoding a live packet capture. In the latter case it depends on the specific network protocol if the crafted packet(s) may be sent from the local segment only or from a remote Internet host.

Comment 1 Adam Mariš 2017-09-11 21:52:28 UTC

Name: the Tcpdump project

Comment 11 Doran Moppert 2017-09-14 04:35:34 UTC
Created tcpdump tracking bugs for this issue:

Affects: fedora-all [bug 1475364]

Comment 14 Doran Moppert 2018-05-16 02:56:19 UTC
This issue was addressed in Red Hat Enterprise Linux 7 via RHEA-2018:0705, which rebased tcpdump to 4.9.2:


Note You need to log in before you can comment on or make changes to this bug.