DSA-654-1 enscript -- several vulnerabilities

Related Vulnerabilities: CVE-2004-1184   CVE-2004-1185   CVE-2004-1186  

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.

Debian Security Advisory

DSA-654-1 enscript -- several vulnerabilities

Date Reported:
21 Jan 2005
Affected Packages:
enscript
Vulnerable:
Yes
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)

Source:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3.dsc
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3.diff.gz
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3.orig.tar.gz
Alpha:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_sparc.deb

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