FLSA-2005:2272: Updated unarj package fixes security issue
Posted on: 02/02/2005 05:58 AM

Updated unarj package are available for Red Hat Linux 7.3, 9, and Fedora Core 1

Fedora Legacy Update Advisory

Synopsis: Updated unarj package fixes security issue
Advisory ID: FLSA:2272
Issue date: 2005-02-01
Product: Red Hat Linux, Fedora Core
Keywords: Bugfix
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id=2272
CVE Names: CAN-2004-0947 CAN-2004-1027

1. Topic:

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.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386
Fedora Core 1 - i386

3. Problem description:

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 all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs.

Please note that this update is also available via yum and apt. Many people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. This assumes that you have yum or apt-get configured for obtaining Fedora Legacy content. Please visit http://www.fedoralegacy.org/docs for directions on how to configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - bug #2272 - unarj - buffer overflow and path traversal bugs

6. RPMs required:

Red Hat Linux 7.3:



Red Hat Linux 9:



Fedora Core 1:



7. Verification:

SHA1 sum Package Name


These packages are GPG signed by Fedora Legacy for security. Our key is available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v filename

If you only wish to verify that each package has not been corrupted or tampered with, examine only the sha1sum with the following command:

sha1sum filename

8. References:


9. Contact:

The Fedora Legacy security contact is secnotice@fedoralegacy.org. More
project details at http://www.fedoralegacy.org

Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/flsa_20052272_updated_unarj_package_fixes_security_issue.html)