Archive of FreeBSD Security general posting, FreeBSD Security Advisory FreeBSD-SA-02:29.tcpdump

13/07/02, FreeBSD Security Advisory FreeBSD-SA-02:29.tcpdump
From: FreeBSD Security Advisories <security-advisories@FreeBSD.ORG>

Generated by MHonArc

CSIM Logo WelcomeCourses
Faculty, Student, Staff
Projects and reports
Conferences, workshop and seminars
Laboratories and reasearch facilities
Information related to CSIM
Information non-related to CSIM
Address, map, phone, etc.

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

To: FreeBSD Security Advisories <security-advisories@FreeBSD.ORG>
Subject: FreeBSD Security Advisory FreeBSD-SA-02:29.tcpdump
From: FreeBSD Security Advisories <security-advisories@FreeBSD.ORG>
Date: Fri, 12 Jul 2002 13:46:02 -0700 (PDT)
List-archive: <> (Web Archive)
List-help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-id: <freebsd-security-notifications.FreeBSD.ORG>
List-subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-security-notifications>
List-unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-security-notifications>
Reply-to: postmaster@FreeBSD.ORG
Sender: owner-freebsd-security-notifications@FreeBSD.ORG


FreeBSD-SA-02:29                                            Security Advisory
                                                          The FreeBSD Project

Topic:          Buffer overflow in tcpdump when handling NFS packets

Category:       contrib
Module:         tcpdump
Announced:      2002-07-12
Affects:        All releases prior to and including 4.6-RELEASE
                FreeBSD 4.6-STABLE prior to the correction date
Corrected:      2002-07-05 13:24:57 UTC (RELENG_4)
                2002-07-12 13:29:47 UTC (RELENG_4_6)
                2002-07-12 13:31:10 UTC (RELENG_4_5)
                2002-07-12 13:31:44 UTC (RELENG_4_4)
FreeBSD only:   NO

I.   Background

The tcpdump utility is used to capture and examining network traffic.

II.  Problem Description

Versions of tcpdump up to and including 3.7.1 contain a buffer
overflow that may be triggered by badly formed NFS packets, and
possibly other types of packets.

III. Impact

It is not currently known whether this buffer overflow is exploitable.
If it were, an attacker could inject specially crafted packets into
the network which, when processed by tcpdump, could lead to arbitrary
code execution with the privileges of the user running tcpdump
(typically `root').

IV.  Workaround

There is no workaround, other than not using tcpdump.

V.   Solution

Do one of the following:

1) Upgrade your vulnerable system to 4.6-STABLE; or to the RELENG_4_6,
RELENG_4_5, or RELENG_4_4 security branch dated after the correction
date (4.6-RELEASE-p2, 4.5-RELEASE-p8, or 4.4-RELEASE-p15).

2) To patch your present system:

The following patch has been verified to apply to FreeBSD 4.4, 4.5, and
4.6 systems.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch
# fetch

b) Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch
# cd /usr/src/usr.sbin/tcpdump
# make depend && make && make install

VI.  Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

Path                                                             Revision
- -------------------------------------------------------------------------
- -------------------------------------------------------------------------

VII. References

Version: GnuPG v1.0.7 (FreeBSD)


To Unsubscribe: send mail to
with "unsubscribe freebsd-security-notifications" in the body of the message

Previous message sorted by date: FreeBSD Security Advisory FreeBSD-SA-02:28.resolv
Next message sorted by date: FreeBSD Security Advisory FreeBSD-SA-02:30.ktrace
Previous message sorted by thread: FreeBSD Security Advisory FreeBSD-SA-02:28.resolv
Next message by thread: FreeBSD Security Advisory FreeBSD-SA-02:30.ktrace
Main Index
Thread Index

CSIM home pageWMailAccount managementCSIM LibraryNetwork test toolsSearch CSIM directories
Contact us: Olivier Nicole CSIM    SET    AIT Last update: Jan 2003