Security Advisory unarj security update

Advisory: RHSA-2005:007-05
Type: Security Advisory
Severity: Low
Issued on: 2005-01-12
Last updated on: 2005-01-12
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
OVAL: N/A
CVEs (cve.mitre.org): CVE-2004-0947
CVE-2004-1027

Details

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

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/

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
unarj-2.43-13.src.rpm     abb1c235036bd233c437b003a4dbb8c1
 
IA-32:
unarj-2.43-13.i386.rpm     1b3f6e7e8780f02a7b6038b78f3af8c2
 
IA-64:
unarj-2.43-13.ia64.rpm     346187352a1792700194a7c7bd5de83f
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
unarj-2.43-13.src.rpm     abb1c235036bd233c437b003a4dbb8c1
 
IA-32:
unarj-2.43-13.i386.rpm     1b3f6e7e8780f02a7b6038b78f3af8c2
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
unarj-2.43-13.src.rpm     abb1c235036bd233c437b003a4dbb8c1
 
IA-32:
unarj-2.43-13.i386.rpm     1b3f6e7e8780f02a7b6038b78f3af8c2
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
unarj-2.43-13.src.rpm     abb1c235036bd233c437b003a4dbb8c1
 
IA-64:
unarj-2.43-13.ia64.rpm     346187352a1792700194a7c7bd5de83f
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

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


References



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

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/