GS-Common PS2Epsi Insecure Temporary File Vulnerability

BID:7337

Info

GS-Common PS2Epsi Insecure Temporary File Vulnerability

Bugtraq ID: 7337
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Apr 14 2003 12:00AM
Updated: Apr 14 2003 12:00AM
Credit: Discovery is credited to Paul Szabo.
Vulnerable: gs-common gs-common 0.3.3
+ Debian Linux 3.0
Not Vulnerable:

Discussion

GS-Common PS2Epsi Insecure Temporary File Vulnerability

The ps2espi script included with gs-common creates temporary files in an insecure manner when invoking Ghostscript. A malicious local user could exploit this condition to create a symbolic link that could corrupt any local file which is writeable by the user invoking the vulnerable script.

Exploit / POC

GS-Common PS2Epsi Insecure Temporary File Vulnerability

There is no exploit required.

Solution / Fix

GS-Common PS2Epsi Insecure Temporary File Vulnerability

Solution:
Fixes are available:


gs-common gs-common 0.3.3

References

GS-Common PS2Epsi Insecure Temporary File Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report