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

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

                     ESB-2005.0342 -- RHSA-2005:377-01
                      Low: sharutils security update
                               27 April 2005

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

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

Product:           sharutils
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux AS/ES/WS 4
                   Red Hat Enterprise Linux Desktop 4
                   Red Hat Enterprise Linux AS/ES/WS 3
                   Red Hat Desktop 3
                   Red Hat Enterprise Linux AS/ES/WS 2.1
                   Red Hat Linux Advanced Workstation 2.1
Impact:            Execute Arbitrary Code/Commands
                   Overwrite Arbitrary Files
Access:            Remote/Unauthenticated
CVE Names:         CAN-2005-0990 CAN-2004-1773 CAN-2004-1772

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

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

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

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

Synopsis:          Low: sharutils security update
Advisory ID:       RHSA-2005:377-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-377.html
Issue date:        2005-04-26
Updated on:        2005-04-26
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1772 CAN-2004-1773 CAN-2005-0990
- - ---------------------------------------------------------------------

1. Summary:

An updated sharutils package is now available.

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

2. Problem description:

The sharutils package contains a set of tools for encoding and decoding
packages of files in binary or text format.

A stack based overflow bug was found in the way shar handles the -o option.
If a user can be tricked into running a specially crafted command, it could
lead to arbitrary code execution.  The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CAN-2004-1772 to this issue.
Please note that this issue does not affect Red Hat Enterprise Linux 4.

Two buffer overflow bugs were found in sharutils. If an attacker can place
a malicious 'wc' command on a victim's machine, or trick a victim into
running a specially crafted command, it could lead to arbitrary code
execution.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-1773 to this issue.

A bug was found in the way unshar creates temporary files. A local user
could use symlinks to overwrite arbitrary files the victim running unshar
has write access to. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2005-0990 to this issue.

All users of sharutils should upgrade to this updated package, which
includes backported fixes to correct these issues.

3. 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/

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

152571 - CAN-2004-1772 buffer overflow with -o option
152573 - CAN-2004-1773 Buffer overflows in unshar
154049 - CAN-2005-0990 insecure temp file usage

5. RPMs required:

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

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm
4ff9ccec228d473e8983f60cec4f7bba  sharutils-4.2.1-8.9.x.src.rpm

i386:
a11c9f7ce6ec7e339554f88dd586ca53  sharutils-4.2.1-8.9.x.i386.rpm

ia64:
c80d5a08b52b452b2c11cb7b0dffc59b  sharutils-4.2.1-8.9.x.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm
4ff9ccec228d473e8983f60cec4f7bba  sharutils-4.2.1-8.9.x.src.rpm

ia64:
c80d5a08b52b452b2c11cb7b0dffc59b  sharutils-4.2.1-8.9.x.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm
4ff9ccec228d473e8983f60cec4f7bba  sharutils-4.2.1-8.9.x.src.rpm

i386:
a11c9f7ce6ec7e339554f88dd586ca53  sharutils-4.2.1-8.9.x.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm
4ff9ccec228d473e8983f60cec4f7bba  sharutils-4.2.1-8.9.x.src.rpm

i386:
a11c9f7ce6ec7e339554f88dd586ca53  sharutils-4.2.1-8.9.x.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm
06a6b26786f3674b33280441417316c8  sharutils-4.2.1-16.2.src.rpm

i386:
3228571c5d375ff8ae96e6f7bf00a046  sharutils-4.2.1-16.2.i386.rpm

ia64:
caa4872797cbb61cbb3d86c9bc6b9c17  sharutils-4.2.1-16.2.ia64.rpm

ppc:
cf2564b18459cea9958c373396894ecc  sharutils-4.2.1-16.2.ppc.rpm

s390:
ee6bb67d0ea5d5d79539437f78f1128f  sharutils-4.2.1-16.2.s390.rpm

s390x:
89114c0f739d46695fa787f3227a960c  sharutils-4.2.1-16.2.s390x.rpm

x86_64:
337510c9c7925ed4e916b2733059d35d  sharutils-4.2.1-16.2.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm
06a6b26786f3674b33280441417316c8  sharutils-4.2.1-16.2.src.rpm

i386:
3228571c5d375ff8ae96e6f7bf00a046  sharutils-4.2.1-16.2.i386.rpm

x86_64:
337510c9c7925ed4e916b2733059d35d  sharutils-4.2.1-16.2.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm
06a6b26786f3674b33280441417316c8  sharutils-4.2.1-16.2.src.rpm

i386:
3228571c5d375ff8ae96e6f7bf00a046  sharutils-4.2.1-16.2.i386.rpm

ia64:
caa4872797cbb61cbb3d86c9bc6b9c17  sharutils-4.2.1-16.2.ia64.rpm

x86_64:
337510c9c7925ed4e916b2733059d35d  sharutils-4.2.1-16.2.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm
06a6b26786f3674b33280441417316c8  sharutils-4.2.1-16.2.src.rpm

i386:
3228571c5d375ff8ae96e6f7bf00a046  sharutils-4.2.1-16.2.i386.rpm

ia64:
caa4872797cbb61cbb3d86c9bc6b9c17  sharutils-4.2.1-16.2.ia64.rpm

x86_64:
337510c9c7925ed4e916b2733059d35d  sharutils-4.2.1-16.2.x86_64.rpm

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm
fb0f041f40c952667fa9e2415bb95481  sharutils-4.2.1-22.2.src.rpm

i386:
5528e7145b01b940474eed14da1a4bf5  sharutils-4.2.1-22.2.i386.rpm

ia64:
14609e1cd1f1d403ad562a27ff7090d0  sharutils-4.2.1-22.2.ia64.rpm

ppc:
83ae1ab7519ccd7905256da2319e006e  sharutils-4.2.1-22.2.ppc.rpm

s390:
f81531770bdd340cf5bd39ebed7c211b  sharutils-4.2.1-22.2.s390.rpm

s390x:
c68d22a3a01ad42d71b7d34b35a49896  sharutils-4.2.1-22.2.s390x.rpm

x86_64:
96fa0ac9f458ea3bed71aca056478e91  sharutils-4.2.1-22.2.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm
fb0f041f40c952667fa9e2415bb95481  sharutils-4.2.1-22.2.src.rpm

i386:
5528e7145b01b940474eed14da1a4bf5  sharutils-4.2.1-22.2.i386.rpm

x86_64:
96fa0ac9f458ea3bed71aca056478e91  sharutils-4.2.1-22.2.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm
fb0f041f40c952667fa9e2415bb95481  sharutils-4.2.1-22.2.src.rpm

i386:
5528e7145b01b940474eed14da1a4bf5  sharutils-4.2.1-22.2.i386.rpm

ia64:
14609e1cd1f1d403ad562a27ff7090d0  sharutils-4.2.1-22.2.ia64.rpm

x86_64:
96fa0ac9f458ea3bed71aca056478e91  sharutils-4.2.1-22.2.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm
fb0f041f40c952667fa9e2415bb95481  sharutils-4.2.1-22.2.src.rpm

i386:
5528e7145b01b940474eed14da1a4bf5  sharutils-4.2.1-22.2.i386.rpm

ia64:
14609e1cd1f1d403ad562a27ff7090d0  sharutils-4.2.1-22.2.ia64.rpm

x86_64:
96fa0ac9f458ea3bed71aca056478e91  sharutils-4.2.1-22.2.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

6. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1772
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1773
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0990

7. 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.2.1 (GNU/Linux)

iD8DBQFCbm0aXlSAg2UNWIIRAhVWAJ9xTC4f40bMYVQdZvmlGrMnyhmk8ACgkYMK
ASGHNlSYMJTLroyU0wJnWTs=
=DIk3
- -----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

iQCVAwUBQm8wECh9+71yA2DNAQI8uwQAkDFVjH6pWMzuwr0Iw8HHbYkXpHQHZnqc
FYH9Ach1xQVOA/90ZpSrfpXzEOQkEc8cNEsolrYT5pessn4Zhq9uZ5SR/Ghl264o
7JCdOHtfSsWUTRF4pzGFyPwzkk1A2rQ6Harc/bb2XRZugGT1pPy1BYCx+F3t9a8n
/dTtN0I684E=
=zvJk
-----END PGP SIGNATURE-----