Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 152849 - CAN-2004-0967 Ghostscript Insecure Temporary File Creation
Summary: CAN-2004-0967 Ghostscript Insecure Temporary File Creation
Alias: None
Product: Fedora Legacy
Classification: Retired
Component: ghostscript
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Fedora Legacy Bugs
QA Contact:
Whiteboard: 1, LEGACY, NEEDSWORK, rh73, rh90, 2
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-09 21:59 UTC by David Lawrence
Modified: 2007-04-18 17:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-04-12 00:25:34 UTC

Attachments (Terms of Use)

Description David Lawrence 2005-03-30 23:29:36 UTC

A vulnerability has been reported in ESP Ghostscript, which can be exploited by
malicious, local users to perform certain actions on a vulnerable system with
escalated privileges.

The vulnerability is caused due to temporary files being created insecurely by
the "", "ps2epsi", "", and "" scripts. This can be
exploited via symlink attacks to create or overwrite arbitrary files with the
privileges of the user invoking a vulnerable script.


Red Hat Bugzilla:


The patch contains several modification. But the most of them was already fixed.

------- Bug moved to this database by 2005-03-30 18:29 -------

This bug previously known as bug 2266 at
Originally filed under the Fedora Legacy product and Package request component.

Unknown priority P2. Setting to default priority "normal".
Unknown platform PC. Setting to default platform "All".
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here,
   Previous reporter was
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 David Eisenstein 2005-09-29 12:15:53 UTC
Red Hat issued RHSA-2005:081-01:
for this bug for RHEL 3.  RHEL uses ghostscript-7.05.

Our most recent ghostscript Packages:

RH7.3:    16325468 May 28  2003 ghostscript-6.52-9.5.src.rpm
RH9:      12862638 May 28  2003 ghostscript-7.05-32.1.src.rpm
FC1:      12816599 Aug 17  2004 ghostscript-7.07-15.4.src.rpm
FC2:      11920172 May 07  2004 ghostscript-7.07-25.src.rpm

This bug is mislabeled:  It should have package "ghostscript", not "gv".
This bug affects FC2 also.

Comment 2 Pekka Savola 2005-10-01 04:49:32 UTC

Comment 3 Matthew Miller 2006-10-23 19:14:40 UTC
FWIW, This appears fixed in current FC3 and FC4.

Comment 4 David Eisenstein 2007-04-12 00:25:34 UTC
Red Hat Linux and Fedora Core releases <=4 are now completely unmaintained.
These bugs can't be fixed in these versions.  If the issue still persists in
current Fedora Core releases, please reopen.  Thank you, and sorry about this.

Note You need to log in before you can comment on or make changes to this bug.