-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2005.0102 -- RHSA-2005:039-01
              Updated enscript package fixes security issues
                              3 February 2005

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           enscript
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux AS/ES/WS 3
                   Red Hat Desktop version 3
                   Red Hat Enterprise Linux AS/ES/WS 2.1
                   Red Hat Linux Advanced Workstation 2.1
                   Linux variants
                   UNIX variants
Impact:            Execute Arbitrary Code/Commands
                   Denial of Service
Access:            Remote/Unauthenticated
CVE Names:         CAN-2004-1186 CAN-2004-1185 CAN-2004-1184

Original Bulletin: https://rhn.redhat.com/errata/RHSA-2005-039.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Synopsis:          Updated enscript package fixes security issues
Advisory ID:       RHSA-2005:039-01
Advisory URL:      https://rhn.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:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
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:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
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:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
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:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
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:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
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:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
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:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
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:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
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 <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFB/5ctXlSAg2UNWIIRApavAJ9c63+NZKidcSzkMAWCEVReuWrDSgCggiQp
2Cfhdx+SPewjI06CgeJV+og=
=Y+t/
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQgHOIyh9+71yA2DNAQKI8QP/fyNAmnFvbln7BvPDHSLBFtYH1Z7Apd0n
GfX2qzwnDBCmamvt0AP0z4Vw2VMrmJH2rGjQK4nalIZ4iwm58e9G4WpLbwwdsPVy
LxOKm5BNkYqigtr07epfGAqcN7WZh1qIiReGzErPgQp4zD9mSsqZcBBMgIkWufdj
N+5LbP8wdn4=
=yg1V
-----END PGP SIGNATURE-----