Bug 162022

Summary: CVE-2005-1038 vixie-cron information leak
Product: Red Hat Enterprise Linux 3 Reporter: Mark J. Cox <mjc>
Component: vixie-cronAssignee: Jason Vas Dias <jvdias>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 3.0CC: benl, poelstra
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20050406,source=cve,reported=20050410
Fixed In Version: RHSA-2006-0117 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-15 15:31:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 163888, 168424    

Description Mark J. Cox 2005-06-29 07:32:38 UTC
+++ This bug was initially created as a clone of Bug #154920 +++

crontab in Vixie cron 4.1, when running with the -e option, allows local users
to read the cron files of other users by changing the file being edited to a
symlink.  NOTE: there is insufficient information to know whether this is a
duplicate of CVE-2001-0235.

http://www.securityfocus.com/archive/1/395093

Comment 2 Josh Bressers 2005-07-08 21:25:15 UTC
Our current fix for this issue is not complete.  A race condition still exists
between the time we lstat the file in question, and when we open the file.

Comment 3 Jason Vas Dias 2005-07-11 23:37:05 UTC
This is now fixed with vixie-cron-4.1-8.EL3, available from:
  http://people.redhat.com/~jvdias/cron/RHEL-3/4.1-8.EL3
The race condition has been circumvented: the fopen() is done as
the non-root user, which also fixes the case when the temporary
file is made into a hardlink to a root owned file.
Please try out the new version and let me know of any issues - thanks.
 



Comment 6 Jason Vas Dias 2005-10-14 15:32:26 UTC
This bug is fixed with vixie-cron-4.1-8_EL3, available from:
  http://people.redhat.com/~jvdias/cron/RHEL-3
and should be considered for inclusion in RHEL-3-U7 .

Comment 13 Red Hat Bugzilla 2006-03-15 15:31:09 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0117.html