Tcpdump Vulnerabilities in ISAKMP Parsing — GLSA 200404-03

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

Affected Packages

net-analyzer/tcpdump on all architectures
Affected versions <= 3.8.1
Unaffected versions >= 3.8.3-r1
net-libs/libpcap on all architectures
Affected versions <= 0.8.1-r1
Unaffected versions >= 0.8.3-r1

Background

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

Description

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.

Impact

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

Workaround

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

Resolution

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

 # 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"

References

Release Date
March 31, 2004

Latest Revision
March 31, 2004: 01

Severity
high

Exploitable
remote

Bugzilla entries