Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 97341

Summary: CAN-2003-0367 tmpfile symlink race in znew
Product: [Retired] Red Hat Linux Reporter: Mark J. Cox <mjc>
Component: gzipAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: mitr
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0367
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-24 20:41:00 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:

Description Mark J. Cox 2003-06-13 12:44:46 UTC
Paul Szabo discovered that znew, a script included in the gzip
package, creates its temporary files without taking precautions to
avoid a symlink attack (CAN-2003-0367).  gzexe had a similar
vulnerability a while ago, CVE-1999-1332.

Not yet investigated if this affects RHL or which versions.

Comment 1 Jeff Johnson 2003-06-24 20:41:00 UTC
The znew in gzip-1.3.3 does not use /tmp files.