Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
    • Risk Management Delivery Group
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > August 2005 > Debian - New pstotext packages fix arbitrary command execution [DSA 792-1]

August 2005

Debian - New pstotext packages fix arbitrary command execution [DSA 792-1]

ID: 00743
Ref: 690/05
Date: 31 August 2005:14:41:10
Version: 1

Title: Debian - New pstotext packages fix arbitrary command execution [DSA 792-1]
Abstract: It has been 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.
Vendors affected: Debian
Operating systems affected: Debian
Applications affected: Debian


Title
=====
Debian - New pstotext packages fix arbitrary command execution [DSA 792-1]


Detail
======

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 792-1 security@debian.org
http://www.debian.org/security/ Martin Schulze
August 31st, 2005 http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package : pstotext
Vulnerability : missing input sanitising
Problem-Type : remote
Debian-specific: no
CVE ID : CAN-2005-2536
BugTraq ID : 14378
Debian Bug : 319758

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.


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:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1.dsc
Size/MD5 checksum: 569 5e4999fac3cb50533b8fa55fa9b8d839
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1.diff.gz
Size/MD5 checksum: 5551 e8656ca1e70907515dea96f646defbeb
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g.orig.tar.gz
Size/MD5 checksum: 36193 dfabf95fffea52cc03d8728617ca1b1e

Alpha architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_alpha.deb
Size/MD5 checksum: 33478 dc7994b7f762a99cda3f6e9eebfd5078

ARM architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_arm.deb
Size/MD5 checksum: 31158 64eb3bb5eaf13a54356bd8b55212ac93

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_i386.deb
Size/MD5 checksum: 31140 ed687aa111ef4d56fd7b2fb220f8118a

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_ia64.deb
Size/MD5 checksum: 37056 7ac97b49306cf896bb3d62b6b076ecb0

HP Precision architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_hppa.deb
Size/MD5 checksum: 32884 6e7b79977d550e6981b0a6849face1b9

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_m68k.deb
Size/MD5 checksum: 30124 5b23f0c04107d284c561d1621c4fd9d1

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_mips.deb
Size/MD5 checksum: 32978 56283a3ef2931d2c4759c4c56218f83a

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_mipsel.deb
Size/MD5 checksum: 32624 29ed7091abca377c4b91fa68d7bc48cb

PowerPC architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_powerpc.deb
Size/MD5 checksum: 32082 c8b4af3f34d681f9dabe4ff31bf0434a

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_s390.deb
Size/MD5 checksum: 31354 ce7f8f5b398350e9d779a847b7c5ef2f

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.8g-5woody1_sparc.deb
Size/MD5 checksum: 35050 e6e74a1ccfc2cb7246911b2f0427609f


Debian GNU/Linux 3.1 alias sarge
- - --------------------------------

Source archives:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1.dsc
Size/MD5 checksum: 566 a4a25eaf8322a20742fb0eac628c096c
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1.diff.gz
Size/MD5 checksum: 7817 634b242dbb68cbb6cf1595e6fa390d0e
http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9.orig.tar.gz
Size/MD5 checksum: 37461 64576e8a10ff5514e285d98b3898ae78

Alpha architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_alpha.deb
Size/MD5 checksum: 34084 82b71b24a4248ea05d243aa1d7b00e7c

AMD64 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_amd64.deb
Size/MD5 checksum: 33670 b5911eb9b067b55315dadfba9c8cb590

ARM architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_arm.deb
Size/MD5 checksum: 32260 426147c50900aba089a9eb430e2094bb

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_i386.deb
Size/MD5 checksum: 32632 e2f9a3859fe3061c85d4f1a54253062e

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_ia64.deb
Size/MD5 checksum: 37624 76f3ed1bb870504692fe7fadbeb6e9b7

HP Precision architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_hppa.deb
Size/MD5 checksum: 34282 7570594eef38d55ebb26e981c8de306b

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_m68k.deb
Size/MD5 checksum: 31370 b9bd589dbbaf0d516cefb4f0b40397be

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_mips.deb
Size/MD5 checksum: 34196 ac148736eaeedd368b6114c79c45b569

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_mipsel.deb
Size/MD5 checksum: 33800 f9bad656d356e522daf2de44c0cc5f26

PowerPC architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_powerpc.deb
Size/MD5 checksum: 33408 1b7b3cf7e04b3bf313d798ee822f7e92

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_s390.deb
Size/MD5 checksum: 32948 b10976913ca43591166801bb9844f096

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/p/pstotext/pstotext_1.9-1sarge1_sparc.deb
Size/MD5 checksum: 32992 c15517e727b7c38adec0f5f85282c430


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

- - ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFZL/W5ql+IAeqTIRArUzAJ95vyOxW+1CZU4UgSatkCljhARCmACfXkYb
gWLcQm6OQ8nZTV05XMkOg94=
=v5XA
- -----END PGP SIGNATURE-----



  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |