Debian Security Advisory

DSA-654-1 enscript -- several vulnerabilities

Date Reported:
21 Jan 2005
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2004-1184, CVE-2004-1185, CVE-2004-1186.
More information:

Erik Sjölund has discovered several security relevant problems in enscript, a program to convert ASCII text into Postscript and other formats. The Common Vulnerabilities and Exposures project identifies the following vulnerabilities:

  • CAN-2004-1184

    Unsanitised input can cause the execution of arbitrary commands via EPSF pipe support. This has been disabled, also upstream.

  • CAN-2004-1185

    Due to missing sanitising of filenames it is possible that a specially crafted filename can cause arbitrary commands to be executed.

  • CAN-2004-1186

    Multiple buffer overflows can cause the program to crash.

Usually, enscript is only run locally, but since it is executed inside of viewcvs some of the problems mentioned above can easily be turned into a remote vulnerability.

For the stable distribution (woody) these problems have been fixed in version 1.6.3-1.3.

For the unstable distribution (sid) these problems have been fixed in version 1.6.4-6.

We recommend that you upgrade your enscript package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

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