-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
              AUSCERT External Security Bulletin Redistribution
                             
                      ESB-2000.393 -- RHSA-2000:122-06
                     race condition exists in diskcheck
                              11 December 2000

===========================================================================

	AusCERT Security Bulletin Summary
	---------------------------------

Product:                diskcheck
Vendor:                 Red Hat
Operating System:       Red Hat Linux
                        Linux
Impact:                 Overwrite Arbitrary Files
Access Required:        Existing Account

- --------------------------BEGIN INCLUDED TEXT--------------------

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

Synopsis:          race condition exists in diskcheck
Advisory ID:       RHSA-2000:122-06
Issue date:        2000-12-01
Updated on:        2000-12-08
Product:           Red Hat Powertools
Keywords:          N/A
Cross references:  N/A
- ---------------------------------------------------------------------

1. Topic:

A race vulnerability exists in the diskcheck package.

2. Relevant releases/architectures:

Red Hat Powertools 6.0 - noarch
Red Hat Powertools 6.1 - noarch
Red Hat Powertools 6.2 - noarch
Red Hat Powertools 7.0 - noarch

3. Problem description:

A race vulnerability exists where a user can replace the tempfile used by
diskcheck with symlinks to other files on the system, making it possible to
corrupt those files.

This update fixes the vulnerability as well as problems with diskcheck
sending mail if /var is on a full partition.

All users should upgrade to the version below.

NOTE: The version of diskcheck shipped in Powertools 7 does not have the
race condition, but should be upgraded to fix the problem with /var
being on a full partition.

4. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

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

11724 - tempfile has easily guessed name and follows symlinks
21901 - diskcheck sends empty email if filesystem where tmp file is created fills up


6. RPMs required:

Red Hat Powertools 6.2:

noarch:
ftp://updates.redhat.com/powertools/6.2/noarch/diskcheck-3.1.1-12.noarch.rpm

sources:
ftp://updates.redhat.com/powertools/6.2/SRPMS/diskcheck-3.1.1-12.src.rpm

Red Hat Powertools 7.0:

noarch:
ftp://updates.redhat.com/powertools/7.0/noarch/diskcheck-3.1.1-12.noarch.rpm

sources:
ftp://updates.redhat.com/powertools/7.0/SRPMS/diskcheck-3.1.1-12.src.rpm

7. Verification:

MD5 sum                           Package Name
- --------------------------------------------------------------------------
33ec0067e449f3411982f3280d5b51a7  6.2/SRPMS/diskcheck-3.1.1-12.src.rpm
ad5b2b48440b9ce431bd31b9d28bde92  6.2/noarch/diskcheck-3.1.1-12.noarch.rpm
b7670bab7d16b9903735728c65c1a971  7.0/SRPMS/diskcheck-3.1.1-12.src.rpm
e54d258f082219443106341074cecdbf  7.0/noarch/diskcheck-3.1.1-12.noarch.rpm

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

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

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 <filename>

8. References:

N/A


Copyright(c) 2000 Red Hat, Inc.

- --------------------------END INCLUDED TEXT--------------------

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

	http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for emergencies.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBOlSNbCh9+71yA2DNAQGTLwP9FiFpjh3RBFlzFBVKzfut91XphokjaDQ5
ubLrGkZG31yzCZLBZ/vXckgzCO6FK8XbZA1XxXaXFiJMs3BDMM7Oo5mkx3YyK89p
jCuE+Kp1t7w/A1wBZmQgWiOGTrG21kt3nmYuS4W+A62HiwCtfQGSQhAvFfc/3HLg
b+/s0Ey1k/U=
=E1tW
-----END PGP SIGNATURE-----