enscript: Multiple vulnerabilities

Security Team  Contact Address

Updated February 02, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200502-03 / enscript
Release Date February 02, 2005
Latest Revision February 02, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-text/enscript < 1.6.3-r3 >= 1.6.3-r3 All supported architectures

Related bugreports: #77408

Synopsis

enscript suffers from vulnerabilities and design flaws, potentially resulting in the execution of arbitrary code.

2.  Impact Information

Background

enscript is a powerful ASCII to PostScript file converter.

Description

Erik Sjolund discovered several issues in enscript: it suffers from several buffer overflows (CAN-2004-1186), quotes and shell escape characters are insufficiently sanitized in filenames (CAN-2004-1185), and it supported taking input from an arbitrary command pipe, with unwanted side effects (CAN-2004-1184).

Impact

An attacker could design malicious files or input data which, once feeded into enscript, would trigger the execution of arbitrary code with the rights of the user running enscript.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All enscript users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/enscript-1.6.3-r3"

4.  References