RHEL 2.1 / 3 / 4 : sharutils (RHSA-2005:377)

high Nessus Plugin ID 18147

Synopsis

The remote Red Hat host is missing a security update.

Description

An updated sharutils package is now available.

This update has been rated as having low security impact by the Red Hat Security Response Team.

The sharutils package contains a set of tools for encoding and decoding packages of files in binary or text format.

A stack based overflow bug was found in the way shar handles the -o option. If a user can be tricked into running a specially crafted command, it could lead to arbitrary code execution. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-1772 to this issue. Please note that this issue does not affect Red Hat Enterprise Linux 4.

Two buffer overflow bugs were found in sharutils. If an attacker can place a malicious 'wc' command on a victim's machine, or trick a victim into running a specially crafted command, it could lead to arbitrary code execution. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-1773 to this issue.

A bug was found in the way unshar creates temporary files. A local user could use symlinks to overwrite arbitrary files the victim running unshar has write access to. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0990 to this issue.

All users of sharutils should upgrade to this updated package, which includes backported fixes to correct these issues.

Solution

Update the affected sharutils package.

See Also

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

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

https://access.redhat.com/security/cve/cve-2005-0990

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

Plugin Details

Severity: High

ID: 18147

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

Version: 1.26

Type: local

Agent: unix

Published: 4/27/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: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:sharutils, cpe:/o:redhat:enterprise_linux:2.1, cpe:/o:redhat:enterprise_linux:3, cpe:/o:redhat:enterprise_linux:4

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

Patch Publication Date: 4/26/2005

Vulnerability Publication Date: 12/31/2004

Reference Information

CVE: CVE-2004-1772, CVE-2004-1773, CVE-2005-0990

RHSA: 2005:377