Linux Today: Linux News On Internet Time.

Red Hat Security Advisory: race condition exists in diskcheck

Dec 08, 2000, 20:20 (0 Talkback[s])

Date: Fri, 8 Dec 2000 14:55 -0500
From: redhat-watch-list-admin@redhat.com
To: redhat-watch-list@redhat.com
Subject: [RHSA-2000:122-06] race condition exists in diskcheck

                   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:



Red Hat Powertools 7.0:



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:

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:


Copyright(c) 2000 Red Hat, Inc.