Bug 133117

Summary: CVE-2004-1058 /proc/<PID>/cmdline information disclosure
Product: Red Hat Enterprise Linux 2.1 Reporter: Josh Bressers <bressers>
Component: kernelAssignee: Don Howard <dhoward>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 2.1CC: mjc, riel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard: impact=low,public=20040730
Fixed In Version: RHSA-2006-0190 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-01 17:43:57 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: 143573    

Description Josh Bressers 2004-09-21 19:12:11 UTC
There's a race in the kernel, and considering the permissions on
/proc/PID/{cmdline,environ} a security bug as well: If you win the
race with a starting process, you can read its environment.

http://lkml.org/lkml/2004/7/29/332

Comment 1 Mark J. Cox 2004-11-17 10:29:16 UTC
Might be 2.6 only
fixed in 2.6.9
http://linux.bkbits.net:8080/linux-2.6/cset@412a4baaEebwtKg-X7sS2r5Mua6uGw

Comment 2 Mark J. Cox 2005-01-10 15:02:04 UTC
I believe RHEL2.1 isn't affected by this flaw and RHEL3 is only
affected because of a backported patch.  Moving to NEEDINFO for a
kernel engineer to verify.

Comment 3 Don Howard 2005-09-15 23:25:56 UTC
Derry needs this fix.  See pensacola BZ 133115 for patch.

Comment 7 Red Hat Bugzilla 2006-02-01 17:43:57 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-0190.html