tcpdump: Integer overflow
Gentoo Linux Security Advisory
||GLSA 200707-14 / tcpdump
||July 28, 2007
||July 28, 2007: 01
All supported architectures
A vulnerability has been discovered in tcpdump, allowing for the execution
of arbitrary code, possibly with root privileges.
tcpdump is a tool for capturing and inspecting network traffic.
mu-b from Digital Labs discovered that the return value of a snprintf()
call is not properly checked before being used. This could lead to an
A remote attacker could send specially crafted BGP packets on a network
being monitored with tcpdump, possibly resulting in the execution of
arbitrary code with the privileges of the user running tcpdump, which
is usually root.
There is no known workaround at this time.
All tcpdump users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/tcpdump-3.9.5-r3"