Debian Security Advisory

DSA-792-1 pstotext -- missing input sanitising

Date Reported:
31 Aug 2005
Affected Packages:
pstotext
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 319758.
In the Bugtraq database (at SecurityFocus): BugTraq ID 14378.
In Mitre's CVE dictionary: CVE-2005-2536.
More information:

Max Vozeler discovered that pstotext, a utility to extract text from PostScript and PDF files, did not execute ghostscript with the -dSAFER argument, which prevents potential malicious operations to happen.

For the old stable distribution (woody) this problem has been fixed in version 1.8g-5woody1.

For the stable distribution (sarge) this problem has been fixed in version 1.9-1sarge1.

For the unstable distribution (sid) this problem has been fixed in version 1.9-2.

We recommend that you upgrade your pstotext package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1.dsc
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1.diff.gz
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g.orig.tar.gz
Alpha:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_sparc.deb

Debian GNU/Linux 3.1 (sarge)

Source:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1.dsc
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1.diff.gz
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9.orig.tar.gz
Alpha:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_sparc.deb

MD5 checksums of the listed files are available in the original advisory.