Red Hat: 'nedit' vulnerability
Posted by LinuxSecurity.com Team   
RedHat Linux nedit creates temporary files in an insecure fashion. This version has been patched to use mkstemp().

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

Synopsis:          Updated nedit packages available
Advisory ID:       RHSA-2001:061-02
Issue date:        2001-04-27
Updated on:        2001-05-08
Product:           Red Hat Powertools
Keywords:          nedit symlink tempfile temporary file
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated nedit packages fixing a security problem are available.

2. Relevant releases/architectures:



Red Hat Powertools 5.2 - alpha, i386, sparc

Red Hat Powertools 6.2 - alpha, i386, sparc

Red Hat Powertools 7.0 - alpha, i386

Red Hat Powertools 7.1 - i386

3. Problem description:

nedit creates temporary files in an insecure fashion. This version has 
been patched to use mkstemp().

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 Powertools 5.2:

SRPMS: 
ftp://updates.Red Hat.com/5.2/en/powertools/SRPMS/nedit-5.1.1-0.5x.1.src.rpm

alpha: 
ftp://updates.Red Hat.com/5.2/en/powertools/alpha/nedit-5.1.1-0.5x.1.alpha.rpm

i386: 
ftp://updates.Red Hat.com/5.2/en/powertools/i386/nedit-5.1.1-0.5x.1.i386.rpm

sparc: 
ftp://updates.Red Hat.com/5.2/en/powertools/sparc/nedit-5.1.1-0.5x.1.sparc.rpm

Red Hat Powertools 6.2:

SRPMS: 
ftp://updates.Red Hat.com/6.2/en/powertools/SRPMS/nedit-5.1.1-0.6x.1.src.rpm

alpha: 
ftp://updates.Red Hat.com/6.2/en/powertools/alpha/nedit-5.1.1-0.6x.1.alpha.rpm

i386: 
ftp://updates.Red Hat.com/6.2/en/powertools/i386/nedit-5.1.1-0.6x.1.i386.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/en/powertools/sparc/nedit-5.1.1-0.6x.1.sparc.rpm

Red Hat Powertools 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/powertools/SRPMS/nedit-5.1.1-4.70.1.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.0/en/powertools/alpha/nedit-5.1.1-4.70.1.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/en/powertools/i386/nedit-5.1.1-4.70.1.i386.rpm

Red Hat Powertools 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/powertools/SRPMS/nedit-5.1.1-6.src.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/powertools/i386/nedit-5.1.1-6.i386.rpm


7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
3c6f9f82781ba9ad21fa39a5059de6a6 5.2/en/powertools/SRPMS/nedit-5.1.1-0.5x.1.src.rpm
f98e819337e278653b079de923127058 5.2/en/powertools/alpha/nedit-5.1.1-0.5x.1.alpha.rpm
58752b338c12bd277a699c02b3cd14c2 5.2/en/powertools/i386/nedit-5.1.1-0.5x.1.i386.rpm
a71ec4cb26527dc38b9b27bb50911a5e 5.2/en/powertools/sparc/nedit-5.1.1-0.5x.1.sparc.rpm
5e9a3a4e1393894a78ed04b465e83a2f 6.2/en/powertools/SRPMS/nedit-5.1.1-0.6x.1.src.rpm
a6074bc71a26cd277b779e6ef60eda33 6.2/en/powertools/alpha/nedit-5.1.1-0.6x.1.alpha.rpm
4dbebabde0161af23eb7062fec9371ee 6.2/en/powertools/i386/nedit-5.1.1-0.6x.1.i386.rpm
efadb8e39c8ad9c4cbe7474557b0be47 6.2/en/powertools/sparc/nedit-5.1.1-0.6x.1.sparc.rpm
cb4ce21be886e969583cbebaea7b9959 7.0/en/powertools/SRPMS/nedit-5.1.1-4.70.1.src.rpm
ba2c570e51110ef1ec25713315426369 7.0/en/powertools/alpha/nedit-5.1.1-4.70.1.alpha.rpm
06b17468b8eea63b8fb4e0290cf944e0 7.0/en/powertools/i386/nedit-5.1.1-4.70.1.i386.rpm
fce7698e1d33f4a61fb72ad63e19844d 7.1/en/powertools/SRPMS/nedit-5.1.1-6.src.rpm
bdf0aea15e167f316edc17532cbad5c9 7.1/en/powertools/i386/nedit-5.1.1-6.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/corp/contact.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.