Gentoo Logo

Tcpdump Vulnerabilities in ISAKMP Parsing


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200404-03 / tcpdump
Release Date March 31, 2004
Latest Revision March 31, 2004: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/tcpdump <= 3.8.1 >= 3.8.3-r1 All supported architectures
net-libs/libpcap <= 0.8.1-r1 >= 0.8.3-r1 All supported architectures

Related bugreports: #38206, #46258


There are multiple vulnerabilities in tcpdump and libpcap related to parsing of ISAKMP packets.

2.  Impact Information


Tcpdump is a program for monitoring IP network traffic. Libpcap is a supporting library which is responsibile for capturing packets off a network interface.


There are two specific vulnerabilities in tcpdump, outlined in [ reference 1 ]. In the first scenario, an attacker may send a specially-crafted ISAKMP Delete packet which causes tcpdump to read past the end of its buffer. In the second scenario, an attacker may send an ISAKMP packet with the wrong payload length, again causing tcpdump to read past the end of a buffer.


Remote attackers could potentially cause tcpdump to crash or execute arbitrary code as the 'pcap' user.

3.  Resolution Information


There is no known workaround at this time. All tcpdump users are encouraged to upgrade to the latest available version.


All tcpdump users should upgrade to the latest available version. ADDITIONALLY, the net-libs/libpcap package should be upgraded.

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=net-libs/libpcap-0.8.3-r1" ">=net-analyzer/tcpdump-3.8.3-r1"
# emerge ">=net-libs/libpcap-0.8.3-r1" ">=net-analyzer/tcpdump-3.8.3-r1"

4.  References


Page updated March 31, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.