Red Hat 9062 Published by

An enscript security update is available for Red Hat Enterprise Linux 4

----------------------------------------------------------------------
Red Hat Security Advisory

Synopsis: Low: enscript security update
Advisory ID: RHSA-2005:040-01
Advisory URL: https://rhn.redhat.com/errata/RHSA-2005-040.html
Issue date: 2005-02-15
Updated on: 2005-02-15
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-1184 CAN-2004-1185 CAN-2004-1186
----------------------------------------------------------------------

1. Summary:

An updated enscript package that fixes several security issues is now available for Red Hat Enterprise Linux 4.

This update has been rated as having low security impact by the Red Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64



3. Problem description:

GNU enscript converts ASCII files to PostScript.

Enscript has the ability to interpret special escape sequences. A flaw was found in the handling of the epsf command used to insert inline EPS files into a document. An attacker could create a carefully crafted ASCII file which made use of the epsf pipe command in such a way that it could execute arbitrary commands if the file was opened with enscript by a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-1184 to this issue.

Additional flaws in Enscript were also discovered which can only be triggered by executing enscript with carefully crafted command line arguments. These flaws therefore only have a security impact if enscript is executed by other programs and passed untrusted data from remote users. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CAN-2004-1185 and CAN-2004-1186 to these issues.

All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/):

144686 - CAN-2004-1184 multiple security issues in enscript (CAN-2004-1185 CAN-2004-1186)

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad enscript-1.6.1-28.3.ia64.rpm

ppc:
87dd4e16ae03373117bc6f996d3f9c7a enscript-1.6.1-28.3.ppc.rpm

s390:
9190d5795d0ee630864c7bf628a76995 enscript-1.6.1-28.3.s390.rpm

s390x:
7394a1fc69dfa447bba88b53087595a2 enscript-1.6.1-28.3.s390x.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad enscript-1.6.1-28.3.ia64.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad enscript-1.6.1-28.3.ia64.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1184
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1185
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1186

8. Contact:

The Red Hat security contact is secalert@redhat.com. More contact details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.