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

Synopsis:          Updated enscript package fixes security issues
Advisory ID:       RHSA-2005:039-01
Advisory URL:      https://access.redhat.com/errata/RHSA-2005:039.html
Issue date:        2005-02-01
Updated on:        2005-02-01
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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - 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
resolve 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/):

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

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923  enscript-1.6.1-16.5.i386.rpm

ia64:
872542b1728ba95a680a703fd49b88ab  enscript-1.6.1-16.5.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

ia64:
872542b1728ba95a680a703fd49b88ab  enscript-1.6.1-16.5.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923  enscript-1.6.1-16.5.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923  enscript-1.6.1-16.5.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09  enscript-1.6.1-24.4.ia64.rpm

ppc:
3ca7dfe2d1b9525000c5483c697de3e1  enscript-1.6.1-24.4.ppc.rpm

s390:
b54d139ecc5862c27517afa75adcc376  enscript-1.6.1-24.4.s390.rpm

s390x:
069ca11ef416ffd0914bd72fba54cbdb  enscript-1.6.1-24.4.s390x.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09  enscript-1.6.1-24.4.ia64.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09  enscript-1.6.1-24.4.ia64.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.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 .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.

RedHat: Updated enscript package fixes security issues

An updated enscript package that fixes several security issues is now available.

Summary



Summary

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 resolve these issues.


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/):
144683 - CAN-2004-1184 multiple security issues in enscript (CAN-2004-1185 CAN-2004-1186)
6. RPMs required:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1:
SRPMS: 8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm
i386: 9f3d90e1f1d723669b77f7f814f15923 enscript-1.6.1-16.5.i386.rpm
ia64: 872542b1728ba95a680a703fd49b88ab enscript-1.6.1-16.5.ia64.rpm
Red Hat Linux Advanced Workstation 2.1:
SRPMS: 8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm
ia64: 872542b1728ba95a680a703fd49b88ab enscript-1.6.1-16.5.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS: 8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm
i386: 9f3d90e1f1d723669b77f7f814f15923 enscript-1.6.1-16.5.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS: 8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm
i386: 9f3d90e1f1d723669b77f7f814f15923 enscript-1.6.1-16.5.i386.rpm
Red Hat Enterprise Linux AS version 3:
SRPMS: 25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm
i386: 8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm
ia64: 93bfe25753b73dbcaa8390a82671cf09 enscript-1.6.1-24.4.ia64.rpm
ppc: 3ca7dfe2d1b9525000c5483c697de3e1 enscript-1.6.1-24.4.ppc.rpm
s390: b54d139ecc5862c27517afa75adcc376 enscript-1.6.1-24.4.s390.rpm
s390x: 069ca11ef416ffd0914bd72fba54cbdb enscript-1.6.1-24.4.s390x.rpm
x86_64: abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.x86_64.rpm
Red Hat Desktop version 3:
SRPMS: 25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm
i386: 8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm
x86_64: abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.x86_64.rpm
Red Hat Enterprise Linux ES version 3:
SRPMS: 25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm
i386: 8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm
ia64: 93bfe25753b73dbcaa8390a82671cf09 enscript-1.6.1-24.4.ia64.rpm
x86_64: abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.x86_64.rpm
Red Hat Enterprise Linux WS version 3:
SRPMS: 25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm
i386: 8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm
ia64: 93bfe25753b73dbcaa8390a82671cf09 enscript-1.6.1-24.4.ia64.rpm
x86_64: abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.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

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

Package List


Severity
Advisory ID: RHSA-2005:039-01
Advisory URL: https://access.redhat.com/errata/RHSA-2005:039.html
Issued Date: : 2005-02-01
Updated on: 2005-02-01
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-1184 CAN-2004-1185 CAN-2004-1186 An updated enscript package that fixes several security issues is now available.

Topic


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64

Red Hat Linux Advanced Workstation 2.1 - ia64

Red Hat Enterprise Linux ES version 2.1 - i386

Red Hat Enterprise Linux WS version 2.1 - i386

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Desktop version 3 - i386, x86_64

Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64


Bugs Fixed


Related News