Users login

Create an account »


Users login

Home » Hacking News » Debian DSA 286-1: gs-commong insecure temp file

Debian DSA 286-1: gs-commong insecure temp file

by Nikola Strahija on April 16th, 2003 A vulnerability has been found in ps2epsi which, if exploited, could allow a local attacker to overwrite files owned by the user who invoked ps2epsi.

Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 286-1 [email protected] Martin Schulze
April 14th, 2003
- --------------------------------------------------------------------------

Package : gs-common
Vulnerability : insecure temporary file
Problem-Type : local
Debian-specific: no

Paul Szabo discovered insecure creation of a temporary file in
ps2epsi, a script that is distributed as part of gs-common which
contains common files for different Ghostscript releases. ps2epsiuses
a temporary file in the process of invoking ghostscript. This file
was created in an insecure fashion, which could allow a local attacker
to overwrite files owned by a user who invokes ps2epsi.

For the stable distribution (woody) this problem has been fixed in

The old stable distribution (potato) is not affected by this problem.

For the unstable distribution (sid) these problems have been fixed in

We recommend that you upgrade your gs-common package.

Upgrade Instructions
- --------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
- --------------------------------

Source archives:
Size/MD5 checksum: 522 16e9ffda57fcdb6c48e977e499fd8671
Size/MD5 checksum: 16202 9588ecfa64ccffdc50df77cdf282edc0

Architecture independent components:
Size/MD5 checksum: 23008 77cc8798e636d26f6fa3a9913afc1de4

These files will probably be moved into the stable distribution on
its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: [email protected]
Package info: `apt-cache show ' and

Version: GnuPG v1.2.1 (GNU/Linux)


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »