[ advisories | exploits | discussions | news | conventions | security tools | texts & papers ]
 main menu
- feedback
- advertising
- privacy
- FightAIDS
- newsletter
- news
- read forum
- new topic
- search

- meetings list
- recent additions
- add your info
 top 100 sites
- visit top sites
- sign up now
- members

- add your url
- add domain
- search box
- link to us

- our projects
- free email
 m4d network
- security software
- secureroot
- m4d.com
Home : Advisories : race condition exists in diskcheck

Title: race condition exists in diskcheck
Released by: Red Hat
Date: 8th December 2000
Printable version: Click here

                   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  

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 Red Hat, Inc.

(C) 1999-2000 All rights reserved.