SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   unarj Vendors:   Jung, Robert K.
(Red Hat Issues Fix) unarj Buffer Overflow in Processing Long File Names May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012876
SecurityTracker URL:  http://securitytracker.com/id/1012876
CVE Reference:   CVE-2004-0947   (Links to External Site)
Date:  Jan 13 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): possibly 2.63a
Description:   A buffer overflow vulnerability was reported in unarj. A remote user may be able to execute arbitrary code on the target system.

Fedora reported that a remote user can create a specially crafted (long) file name that, when processed by unarj, will cause the process to crash or to execute arbitrary code.

Impact:   A remote user can create an archive that, when uncompressed by the target user, will execute arbitrary code on the target user's system.
Solution:   Red Hat has released a fix.

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

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1 unarj-2.43-13.src.rpm

i386:
1b3f6e7e8780f02a7b6038b78f3af8c2 unarj-2.43-13.i386.rpm

ia64:
346187352a1792700194a7c7bd5de83f unarj-2.43-13.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1 unarj-2.43-13.src.rpm

ia64:
346187352a1792700194a7c7bd5de83f unarj-2.43-13.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1 unarj-2.43-13.src.rpm

i386:
1b3f6e7e8780f02a7b6038b78f3af8c2 unarj-2.43-13.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1 unarj-2.43-13.src.rpm

i386:
1b3f6e7e8780f02a7b6038b78f3af8c2 unarj-2.43-13.i386.rpm

Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  2.1

Message History:   This archive entry is a follow-up to the message listed below.
Nov 11 2004 unarj Buffer Overflow in Processing Long File Names May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2005:007-01] Updated unarj package fixes security issue


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

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

Synopsis:          Updated unarj package fixes security issue
Advisory ID:       RHSA-2005:007-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-007.html
Issue date:        2005-01-12
Updated on:        2005-01-12
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-0947 CAN-2004-1027
- ---------------------------------------------------------------------

1. Summary:

An updated unarj package that fixes a buffer overflow vulnerability and a
directory traversal vulnerability 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

3. Problem description:

The unarj program is an archiving utility which can extract ARJ-compatible
archives.

A buffer overflow bug was discovered in unarj when handling long file
names contained in an archive.  An attacker could create a specially
crafted archive which could cause unarj to crash or possibly execute
arbitrary code when extracted by a victim.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0947 to
this issue.

Additionally, a path traversal vulnerability was discovered in unarj.  An
attacker could create a specially crafted archive which would create files
in the parent ("..") directory when extracted by a victim.  When used
recursively, this vulnerability could be used to overwrite critical system
files and programs.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-1027 to this issue.

Users of unarj should upgrade to this updated package which contains
backported patches and is not vulnerable to 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/):

138462 - CAN-2004-0947 buffer overflow in unarj
138835 - CAN-2004-1027 unarj directory traversal issue

6. RPMs required:

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

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1  unarj-2.43-13.src.rpm

i386:
1b3f6e7e8780f02a7b6038b78f3af8c2  unarj-2.43-13.i386.rpm

ia64:
346187352a1792700194a7c7bd5de83f  unarj-2.43-13.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1  unarj-2.43-13.src.rpm

ia64:
346187352a1792700194a7c7bd5de83f  unarj-2.43-13.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1  unarj-2.43-13.src.rpm

i386:
1b3f6e7e8780f02a7b6038b78f3af8c2  unarj-2.43-13.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/unarj-2.43-13.src.rpm
abb1c235036bd233c437b003a4dbb8c1  unarj-2.43-13.src.rpm

i386:
1b3f6e7e8780f02a7b6038b78f3af8c2  unarj-2.43-13.i386.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-0947
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1027

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)

iD8DBQFB5XHlXlSAg2UNWIIRAjfJAKC4jWCt/DoeNlVB1TiCBdpMX+bp5wCgiJcl
1cL9o1vIOwd/NgGKeIJfFz0=
=HrOB
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC