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

Bug 113842

Summary: CAN-2003-0924 netpbm temporary file vulnerabilities
Product: [Retired] Red Hat Linux Reporter: Mark J. Cox <mjc>
Component: netpbmAssignee: Phil Knirsch <pknirsch>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-05 08:46:41 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 2004-01-19 13:45:33 UTC
A number of temporary file bugs have been found in versions of NetPBM
shipped with Red Hat Linux 9.  These could allow a local attacker the
ability to overwrite or create files as a user running the netpbm
utilities.

Low risk as few programs use the netpbm utilities for image conversion.

Comment 1 Mark J. Cox 2004-02-05 08:46:41 UTC
An errata 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-2004-030.html


Comment 2 Richard Szabo 2004-05-24 08:41:55 UTC
This "upgrade" will of course affect another error in conjunction to 
PHP and Apache. When uploading a picture, netpbm programs attempt to 
use the mktemp function but fails immensly after sending a parameter 
not compatible with my RedHat system (9.0, kernel mod 2.40-31-9). 

mktemp fails because of parameter -t ( which does not exist on my 
system ) and uploaded pictures are damaged because of the PHP script 
retreiving wrong data as netpbm fails to create the file.