Security Advisory Moderate: tcpdump security and bug fix update

Advisory: RHSA-2007:0368-4
Type: Security Advisory
Severity: Moderate
Issued on: 2007-11-07
Last updated on: 2007-11-07
Affected Products: RHEL Desktop Workstation (v. 5 client)
Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
OVAL: com.redhat.rhsa-20070368.xml
CVEs (cve.mitre.org): CVE-2007-1218
CVE-2007-3798

Details

Updated tcpdump packages that fix a security issue and functionality bugs
are now available.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

Tcpdump is a command line tool for monitoring network traffic.

Moritz Jodeit discovered a denial of service bug in the tcpdump IEEE 802.11
processing code. If a certain link type was explicitly specified, an
attacker could inject a carefully crafted frame onto the IEEE 802.11
network that could crash a running tcpdump session. (CVE-2007-1218)

An integer overflow flaw was found in tcpdump's BGP processing code. An
attacker could execute arbitrary code with the privilege of the pcap user
by injecting a crafted frame onto the network. (CVE-2007-3798)

In addition, the following bugs have been addressed:

* The arpwatch service initialization script would exit prematurely,
returning an incorrect successful exit status and preventing the status
command from running in case networking is not available.

* Tcpdump would not drop root privileges completely when launched with the
-C option. This might have been abused by an attacker to gain root
privileges in case a security problem was found in tcpdump. Users of
tcpdump are encouraged to specify meaningful arguments to the -Z option in
case they want tcpdump to write files with privileges other than of the
pcap user.

Users of tcpdump are advised to upgrade to these erratum packages, which
contain backported patches that correct these issues.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

RHEL Desktop Workstation (v. 5 client)

SRPMS:
tcpdump-3.9.4-11.el5.src.rpm     2d8a9b6ce960508362a7f9d80633b3da
 
IA-32:
arpwatch-2.1a13-18.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    8a2efa5cde05859090d27899455fd8ea
libpcap-devel-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    e7fc87898e4d015cd6d9e3db48d9ca9f
 
x86_64:
arpwatch-2.1a13-18.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    01df957f9cf7cf71afdef3649564dbb1
libpcap-devel-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    e7fc87898e4d015cd6d9e3db48d9ca9f
libpcap-devel-0.9.4-11.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    52d87731d358492ae67ae75ee92794c7
 
Red Hat Enterprise Linux (v. 5 server)

SRPMS:
tcpdump-3.9.4-11.el5.src.rpm     2d8a9b6ce960508362a7f9d80633b3da
 
IA-32:
arpwatch-2.1a13-18.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    8a2efa5cde05859090d27899455fd8ea
libpcap-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    bf509e032af93a166ee85eb44fb9806c
libpcap-devel-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    e7fc87898e4d015cd6d9e3db48d9ca9f
tcpdump-3.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    e1366b54fb414744f8066cda26ae1cf4
 
IA-64:
arpwatch-2.1a13-18.el5.ia64.rpm
File outdated by:  RHBA-2009:0114
    4afabd661d6cdc60e129cfd97cc40a9d
libpcap-0.9.4-11.el5.ia64.rpm
File outdated by:  RHBA-2009:0114
    f4696ab17886456c3106756ed94158da
libpcap-devel-0.9.4-11.el5.ia64.rpm
File outdated by:  RHBA-2009:0114
    ca57b4643c6670b21ad4aa15b277f728
tcpdump-3.9.4-11.el5.ia64.rpm
File outdated by:  RHBA-2009:0114
    4f844de6d34ff8b4f80c054e78a7088f
 
PPC:
arpwatch-2.1a13-18.el5.ppc.rpm
File outdated by:  RHBA-2009:0114
    8f4f509649250ef31e2a75bb5b9ed772
libpcap-0.9.4-11.el5.ppc.rpm
File outdated by:  RHBA-2009:0114
    a98d4e12b603d3dda4de51f887c48218
libpcap-0.9.4-11.el5.ppc64.rpm
File outdated by:  RHBA-2009:0114
    1a1556ff29bf547645be3bbecfccdf36
libpcap-devel-0.9.4-11.el5.ppc.rpm
File outdated by:  RHBA-2009:0114
    1db21646d5ecea38de52ca5210bca741
libpcap-devel-0.9.4-11.el5.ppc64.rpm
File outdated by:  RHBA-2009:0114
    24182f64ea6d93b6d7905d39fb5dcc41
tcpdump-3.9.4-11.el5.ppc.rpm
File outdated by:  RHBA-2009:0114
    e671300d796e42688d50d074e0c1b5f1
 
s390x:
arpwatch-2.1a13-18.el5.s390x.rpm
File outdated by:  RHBA-2009:0114
    a1900619ecfb99b2bfb2db7d2b8fda0c
libpcap-0.9.4-11.el5.s390.rpm
File outdated by:  RHBA-2009:0114
    e65d46956c9aabb2dc4372e89a773095
libpcap-0.9.4-11.el5.s390x.rpm
File outdated by:  RHBA-2009:0114
    8d248c1c133eef93c00d12e3e4648cc8
libpcap-devel-0.9.4-11.el5.s390.rpm
File outdated by:  RHBA-2009:0114
    13d1f23310369d5702f1208f9c3d38b4
libpcap-devel-0.9.4-11.el5.s390x.rpm
File outdated by:  RHBA-2009:0114
    d3230eb608c67be9e9090f42b882e6f1
tcpdump-3.9.4-11.el5.s390x.rpm
File outdated by:  RHBA-2009:0114
    e2c3146e79feeea209f2642aaa34fdb6
 
x86_64:
arpwatch-2.1a13-18.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    01df957f9cf7cf71afdef3649564dbb1
libpcap-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    bf509e032af93a166ee85eb44fb9806c
libpcap-0.9.4-11.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    5f5a5af8ab76663a97667d1036ec9668
libpcap-devel-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    e7fc87898e4d015cd6d9e3db48d9ca9f
libpcap-devel-0.9.4-11.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    52d87731d358492ae67ae75ee92794c7
tcpdump-3.9.4-11.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    230e4421c10064f6b30666894151f545
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
tcpdump-3.9.4-11.el5.src.rpm     2d8a9b6ce960508362a7f9d80633b3da
 
IA-32:
libpcap-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    bf509e032af93a166ee85eb44fb9806c
tcpdump-3.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    e1366b54fb414744f8066cda26ae1cf4
 
x86_64:
libpcap-0.9.4-11.el5.i386.rpm
File outdated by:  RHBA-2009:0114
    bf509e032af93a166ee85eb44fb9806c
libpcap-0.9.4-11.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    5f5a5af8ab76663a97667d1036ec9668
tcpdump-3.9.4-11.el5.x86_64.rpm
File outdated by:  RHBA-2009:0114
    230e4421c10064f6b30666894151f545
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

232347 - CVE-2007-1218 tcpdump denial of service
237779 - Wrong init script
241677 - tcpdump -Z -C should drop root privileges completely
250275 - CVE-2007-3798 tcpdump BGP integer overflow


References


Keywords

802.11, crash, overflow


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/