Mandrake: 'ispell' temp file vulnerability
Posted by LinuxSecurity.com Team   
Mandrake The ispell program uses mktemp() to open temporary files. This makes it vulnerable to symlink attacks.

________________________________________________________________________

                Mandrake Linux Security Update Advisory
________________________________________________________________________

Package name:           ispell
Date:                   June 20th, 2001
Advisory ID:            MDKSA-2001:058

Affected versions:      7.1, 7.2, 8.0, Corporate Server 1.0.1
________________________________________________________________________

Problem Description:

 The ispell program uses mktemp() to open temporary files.  This makes
 it vulnerable to symlink attacks.  The program now has a patch from
 OpenBSD applied that uses mkstemp() instead, and switches gets() to
 fgets() for dealing with user input.
________________________________________________________________________

References:

________________________________________________________________________

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:
  rpm --checksig package.rpm
You can get the GPG public key of the Mandrake Linux Security Team at
   http://www.linux-mandrake.com/en/security/RPM-GPG-KEYS
If you use MandrakeUpdate, the verification of md5 checksum and GPG
signature is performed automatically for you.

Linux-Mandrake 7.1:
7e0259681eecfea26914f2177aed1622  7.1/RPMS/ispell-3.1.20-10.1mdk.i586.rpm
0c4404521d7490e5c30651d25bf47a96  7.1/RPMS/ispell-de-3.1.20-10.1mdk.i586.rpm
27d507aabb0a76fba7d46359d5490e9e  7.1/RPMS/ispell-en-3.1.20-10.1mdk.i586.rpm
2ecc2af3a167bef1f49180fa8a1cac60  7.1/SRPMS/ispell-3.1.20-10.1mdk.src.rpm

Linux-Mandrake 7.2:
3e234ec53b20accf87784622b43aa5df  7.2/RPMS/ispell-3.1.20-13.1mdk.i586.rpm
3f3fe8ec98b34a78c0488c9eefd1f434  7.2/RPMS/ispell-en-3.1.20-13.1mdk.i586.rpm
27131000e3ece80247ecd4d4ac7768c5  7.2/SRPMS/ispell-3.1.20-13.1mdk.src.rpm

Mandrake Linux 8.0:
dea62fd582831557c0c5bb860e1fdaee  8.0/RPMS/ispell-3.1.20-15.1mdk.i586.rpm
145b269dd5d9b678732f370e99f5b92f  8.0/RPMS/ispell-en-3.1.20-15.1mdk.i586.rpm
a6bf8ad149902347b5a7703474e02def  8.0/SRPMS/ispell-3.1.20-15.1mdk.src.rpm

Corporate Server 1.0.1:
7e0259681eecfea26914f2177aed1622  1.0.1/RPMS/ispell-3.1.20-10.1mdk.i586.rpm
0c4404521d7490e5c30651d25bf47a96  1.0.1/RPMS/ispell-de-3.1.20-10.1mdk.i586.rpm
27d507aabb0a76fba7d46359d5490e9e  1.0.1/RPMS/ispell-en-3.1.20-10.1mdk.i586.rpm
2ecc2af3a167bef1f49180fa8a1cac60  1.0.1/SRPMS/ispell-3.1.20-10.1mdk.src.rpm
________________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):

________________________________________________________________________

To upgrade automatically, use MandrakeUpdate.

If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".

You can download the updates directly from one of the mirror sites
listed at:

   http://www.linux-mandrake.com/en/ftp.php3.

Updated packages are available in the "updates/[ver]/RPMS/" directory.
For example, if you are looking for an updated RPM package for
Mandrake Linux 8.0, look for it in "updates/8.0/RPMS/".  Updated source
RPMs are available as well, but you generally do not need to download
them.

Please be aware that sometimes it takes the mirrors a few hours to
update.

You can view other security advisories for Mandrake Linux at:

   http://www.linux-mandrake.com/en/security/

If you want to report vulnerabilities, please contact

  security@linux-mandrake.com
________________________________________________________________________

Mandrake Linux has two security-related mailing list services that
anyone can subscribe to:

security-announce@linux-mandrake.com

  Mandrake Linux's security announcements mailing list.  Only
  announcements are sent to this list and it is read-only.

security-discuss@linux-mandrake.com

  Mandrake Linux's security discussion mailing list.  This list is open
  to anyone to discuss Mandrake Linux security specifically and Linux
  security in general.

To subscribe to either list, send a message to
  sympa@linux-mandrake.com
with "subscribe [listname]" in the body of the message.

To remove yourself from either list, send a message to
  sympa@linux-mandrake.com
with "unsubscribe [listname]" in the body of the message.

To get more information on either list, send a message to
  sympa@linux-mandrake.com
with "info [listname]" in the body of the message.

Optionally, you can use the web interface to subscribe to or unsubscribe
from either list:

   http://www.linux-mandrake.com/en/flists.php3#security
________________________________________________________________________