Gentoo Logo

tcpdump: Integer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200707-14 / tcpdump
Release Date July 28, 2007
Latest Revision July 28, 2007: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/tcpdump < 3.9.5-r3 >= 3.9.5-r3 All supported architectures

Related bugreports: #184815

Synopsis

A vulnerability has been discovered in tcpdump, allowing for the execution of arbitrary code, possibly with root privileges.

2.  Impact Information

Background

tcpdump is a tool for capturing and inspecting network traffic.

Description

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 integer overflow.

Impact

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

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"

4.  References



Print

Page updated July 28, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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