RHEL 2.1 : unarj (RHSA-2005:007)

critical Nessus Plugin ID 16145

Synopsis

The remote Red Hat host is missing a security update.

Description

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 CVE-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 CVE-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

Update the affected unarj package.

See Also

https://access.redhat.com/security/cve/cve-2004-0947

https://access.redhat.com/security/cve/cve-2004-1027

https://access.redhat.com/errata/RHSA-2005:007

Plugin Details

Severity: Critical

ID: 16145

File Name: redhat-RHSA-2005-007.nasl

Version: 1.24

Type: local

Agent: unix

Published: 1/13/2005

Updated: 1/14/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:unarj, cpe:/o:redhat:enterprise_linux:2.1

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 1/12/2005

Vulnerability Publication Date: 2/9/2005

Reference Information

CVE: CVE-2004-0947, CVE-2004-1027

RHSA: 2005:007