RedHat: 'diffutils'
Posted by LinuxSecurity.com Team   
RedHat Linux A temporary file handling vulnerability in the sdiff program has been fixed.

---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated diffutils packages available
Advisory ID:       RHSA-2001:116-03
Issue date:        2001-10-03
Updated on:        2001-10-17
Product:           Red Hat Linux
Keywords:          sdiff temporary file
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated diffutils packages are now available, fixing a temporary file 
handling vulnerability in the sdiff program.

2. Relevant releases/architectures:

Red Hat Linux 5.2 - alpha, i386, sparc

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

3. Problem description:

When using sdiff in interactive mode, a temporary file is created.  The 
new diffutils packages make sure to create that file in a secure way.

4. Solution:

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

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed  (http://bugzilla.Red Hat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 5.2:

SRPMS: 
ftp://updates.Red Hat.com/5.2/en/os/SRPMS/diffutils-2.7-22.5x.src.rpm

alpha: 
ftp://updates.Red Hat.com/5.2/en/os/alpha/diffutils-2.7-22.5x.alpha.rpm

i386: 
ftp://updates.Red Hat.com/5.2/en/os/i386/diffutils-2.7-22.5x.i386.rpm

sparc: 
ftp://updates.Red Hat.com/5.2/en/os/sparc/diffutils-2.7-22.5x.sparc.rpm

Red Hat Linux 6.2:

SRPMS: 
ftp://updates.Red Hat.com/6.2/en/os/SRPMS/diffutils-2.7-22.6x.src.rpm

alpha: 
ftp://updates.Red Hat.com/6.2/en/os/alpha/diffutils-2.7-22.6x.alpha.rpm

i386: 
ftp://updates.Red Hat.com/6.2/en/os/i386/diffutils-2.7-22.6x.i386.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/en/os/sparc/diffutils-2.7-22.6x.sparc.rpm

Red Hat Linux 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/os/SRPMS/diffutils-2.7-22.70.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.0/en/os/alpha/diffutils-2.7-22.70.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/en/os/i386/diffutils-2.7-22.70.i386.rpm

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/diffutils-2.7-23.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.1/en/os/alpha/diffutils-2.7-23.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/os/i386/diffutils-2.7-23.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.1/en/os/ia64/diffutils-2.7-23.ia64.rpm


7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
ff7029002d184b7b860f21524f696b60
5.2/en/os/SRPMS/diffutils-2.7-22.5x.src.rpm35dfb8e4aba080dcbda65519bf266b71
5.2/en/os/alpha/diffutils-2.7-22.5x.alpha.rpm729984eac74f725e0ec8560c7ff114a5
5.2/en/os/i386/diffutils-2.7-22.5x.i386.rpm2c7f2ab3e5c0ddeba0b1791476cb7689
5.2/en/os/sparc/diffutils-2.7-22.5x.sparc.rpmd736703adc89c9ec4b6b43849a93375c
6.2/en/os/SRPMS/diffutils-2.7-22.6x.src.rpme3ebbf9aa5f5b663b011d1087866e959
6.2/en/os/alpha/diffutils-2.7-22.6x.alpha.rpm97f2748d9d8121b9a365c5d6e806e90f
6.2/en/os/i386/diffutils-2.7-22.6x.i386.rpm0689c3190111d4bbc7e37ae2da8afb7b
6.2/en/os/sparc/diffutils-2.7-22.6x.sparc.rpmb59486f536fb05fcbb46ddf1134ad441
7.0/en/os/SRPMS/diffutils-2.7-22.70.src.rpm7220cfb847ac459e89f95163443dc4f4
7.0/en/os/alpha/diffutils-2.7-22.70.alpha.rpm5a826dc3cf47c95aaa1506af652c3f95
7.0/en/os/i386/diffutils-2.7-22.70.i386.rpma9e358e11d2c008fe0388b69901c4533
7.1/en/os/SRPMS/diffutils-2.7-23.src.rpm687c37a41d49b288a8bcea8469837fb8
7.1/en/os/alpha/diffutils-2.7-23.alpha.rpm0c7ef980105572472a6ae07f13aa7e10
7.1/en/os/i386/diffutils-2.7-23.i386.rpm062bf0083809452267d49d42aa85d7e2
7.1/en/os/ia64/diffutils-2.7-23.ia64.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg 

8. References:




Copyright(c) 2000, 2001 Red Hat, Inc.