CentOS 3 / 4 : sharutils (CESA-2005:377)

high Nessus Plugin ID 21814

Synopsis

The remote CentOS 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

http://www.nessus.org/u?f0ad6fa1

http://www.nessus.org/u?52871161

http://www.nessus.org/u?7d767ffd

Plugin Details

Severity: High

ID: 21814

File Name: centos_RHSA-2005-377.nasl

Version: 1.20

Type: local

Agent: unix

Published: 7/3/2006

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, 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: cpe:/o:centos:centos:3, cpe:/o:centos:centos:4, p-cpe:/a:centos:centos:sharutils

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

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