Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 116443

Summary: Insecure tmpfile creation
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: htdigAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: 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-26 15:01: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:
Bug Depends On:    
Bug Blocks: 114963    

Description Enrico Scholz 2004-02-21 02:50:25 UTC
Description of problem:

| $ cat /usr/bin/HtFileType
| ...
| tmpfile=/tmp/`basename $0`.$$


Version-Release number of selected component (if applicable):

htdig-3.2.0b5-4

Comment 2 Phil Knirsch 2004-02-23 16:29:59 UTC
Urgs. OK. Fix should be easy using mktemp. Should be fixed in next
release, too.

Read ya, Phil

Comment 3 Phil Knirsch 2004-02-26 15:01:41 UTC
Fixed in htdig-3.2.0b5-6 and later.

Read ya, Phil