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

Synopsis:          Updated unarj package fixes security issue
Advisory ID:       RHSA-2005:007-01
Advisory URL:      https://access.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:
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:
abb1c235036bd233c437b003a4dbb8c1  unarj-2.43-13.src.rpm

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

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
abb1c235036bd233c437b003a4dbb8c1  unarj-2.43-13.src.rpm

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

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
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 .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.

RedHat: Updated unarj package fixes security issue

An updated unarj package that fixes a buffer overflow vulnerability and a directory traversal vulnerability is now available.

Summary



Summary

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.


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: 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: abb1c235036bd233c437b003a4dbb8c1 unarj-2.43-13.src.rpm
ia64: 346187352a1792700194a7c7bd5de83f unarj-2.43-13.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS: abb1c235036bd233c437b003a4dbb8c1 unarj-2.43-13.src.rpm
i386: 1b3f6e7e8780f02a7b6038b78f3af8c2 unarj-2.43-13.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS: 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

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

Package List


Severity
Advisory ID: RHSA-2005:007-01
Advisory URL: https://access.redhat.com/errata/RHSA-2005:007.html
Issued Date: : 2005-01-12
Updated on: 2005-01-12
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-0947 CAN-2004-1027 An updated unarj package that fixes a buffer overflow vulnerability and a directory traversal vulnerability 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


Bugs Fixed


Related News