Executive Summary
Summary | |
---|---|
Title | sharutils security update |
Informations | |||
---|---|---|---|
Name | RHSA-2005:377 | First vendor Publication | 2005-04-26 |
Vendor | RedHat | Last vendor Modification | 2005-04-26 |
Severity (Vendor) | Low | Revision | 01 |
Security-Database Scoring CVSS v3
Cvss vector : N/A | |||
---|---|---|---|
Overall CVSS Score | NA | ||
Base Score | NA | Environmental Score | NA |
impact SubScore | NA | Temporal Score | NA |
Exploitabality Sub Score | NA | ||
Calculate full CVSS 3.0 Vectors scores |
Security-Database Scoring CVSS v2
Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P) | |||
---|---|---|---|
Cvss Base Score | 7.5 | Attack Range | Network |
Cvss Impact Score | 6.4 | Attack Complexity | Low |
Cvss Expoit Score | 10 | Authentication | None Required |
Calculate full CVSS 2.0 Vectors scores |
Detail
Problem 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. 2. Problem description: 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 CAN-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 CAN-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 CAN-2005-0990 to this issue. All users of sharutils should upgrade to this updated package, which includes backported fixes to correct these issues. 3. 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/ 4. Bug IDs fixed (http://bugzilla.redhat.com/): 152571 - CAN-2004-1772 buffer overflow with -o option 152573 - CAN-2004-1773 Buffer overflows in unshar 154049 - CAN-2005-0990 insecure temp file usage 5. RPMs required: Red Hat Enterprise Linux AS (Advanced Server) version 2.1: SRPMS: ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm 4ff9ccec228d473e8983f60cec4f7bba sharutils-4.2.1-8.9.x.src.rpm i386: a11c9f7ce6ec7e339554f88dd586ca53 sharutils-4.2.1-8.9.x.i386.rpm ia64: c80d5a08b52b452b2c11cb7b0dffc59b sharutils-4.2.1-8.9.x.ia64.rpm Red Hat Linux Advanced Workstation 2.1: SRPMS: ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm 4ff9ccec228d473e8983f60cec4f7bba sharutils-4.2.1-8.9.x.src.rpm ia64: c80d5a08b52b452b2c11cb7b0dffc59b sharutils-4.2.1-8.9.x.ia64.rpm Red Hat Enterprise Linux ES version 2.1: SRPMS: ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm 4ff9ccec228d473e8983f60cec4f7bba sharutils-4.2.1-8.9.x.src.rpm i386: a11c9f7ce6ec7e339554f88dd586ca53 sharutils-4.2.1-8.9.x.i386.rpm Red Hat Enterprise Linux WS version 2.1: SRPMS: ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/sharutils-4.2.1-8.9.x.src.rpm 4ff9ccec228d473e8983f60cec4f7bba sharutils-4.2.1-8.9.x.src.rpm i386: a11c9f7ce6ec7e339554f88dd586ca53 sharutils-4.2.1-8.9.x.i386.rpm Red Hat Enterprise Linux AS version 3: SRPMS: ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm 06a6b26786f3674b33280441417316c8 sharutils-4.2.1-16.2.src.rpm i386: 3228571c5d375ff8ae96e6f7bf00a046 sharutils-4.2.1-16.2.i386.rpm ia64: caa4872797cbb61cbb3d86c9bc6b9c17 sharutils-4.2.1-16.2.ia64.rpm ppc: cf2564b18459cea9958c373396894ecc sharutils-4.2.1-16.2.ppc.rpm s390: ee6bb67d0ea5d5d79539437f78f1128f sharutils-4.2.1-16.2.s390.rpm s390x: 89114c0f739d46695fa787f3227a960c sharutils-4.2.1-16.2.s390x.rpm x86_64: 337510c9c7925ed4e916b2733059d35d sharutils-4.2.1-16.2.x86_64.rpm Red Hat Desktop version 3: SRPMS: ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm 06a6b26786f3674b33280441417316c8 sharutils-4.2.1-16.2.src.rpm i386: 3228571c5d375ff8ae96e6f7bf00a046 sharutils-4.2.1-16.2.i386.rpm x86_64: 337510c9c7925ed4e916b2733059d35d sharutils-4.2.1-16.2.x86_64.rpm Red Hat Enterprise Linux ES version 3: SRPMS: ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm 06a6b26786f3674b33280441417316c8 sharutils-4.2.1-16.2.src.rpm i386: 3228571c5d375ff8ae96e6f7bf00a046 sharutils-4.2.1-16.2.i386.rpm ia64: caa4872797cbb61cbb3d86c9bc6b9c17 sharutils-4.2.1-16.2.ia64.rpm x86_64: 337510c9c7925ed4e916b2733059d35d sharutils-4.2.1-16.2.x86_64.rpm Red Hat Enterprise Linux WS version 3: SRPMS: ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/sharutils-4.2.1-16.2.src.rpm 06a6b26786f3674b33280441417316c8 sharutils-4.2.1-16.2.src.rpm i386: 3228571c5d375ff8ae96e6f7bf00a046 sharutils-4.2.1-16.2.i386.rpm ia64: caa4872797cbb61cbb3d86c9bc6b9c17 sharutils-4.2.1-16.2.ia64.rpm x86_64: 337510c9c7925ed4e916b2733059d35d sharutils-4.2.1-16.2.x86_64.rpm Red Hat Enterprise Linux AS version 4: SRPMS: ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm fb0f041f40c952667fa9e2415bb95481 sharutils-4.2.1-22.2.src.rpm i386: 5528e7145b01b940474eed14da1a4bf5 sharutils-4.2.1-22.2.i386.rpm ia64: 14609e1cd1f1d403ad562a27ff7090d0 sharutils-4.2.1-22.2.ia64.rpm ppc: 83ae1ab7519ccd7905256da2319e006e sharutils-4.2.1-22.2.ppc.rpm s390: f81531770bdd340cf5bd39ebed7c211b sharutils-4.2.1-22.2.s390.rpm s390x: c68d22a3a01ad42d71b7d34b35a49896 sharutils-4.2.1-22.2.s390x.rpm x86_64: 96fa0ac9f458ea3bed71aca056478e91 sharutils-4.2.1-22.2.x86_64.rpm Red Hat Enterprise Linux Desktop version 4: SRPMS: ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm fb0f041f40c952667fa9e2415bb95481 sharutils-4.2.1-22.2.src.rpm i386: 5528e7145b01b940474eed14da1a4bf5 sharutils-4.2.1-22.2.i386.rpm x86_64: 96fa0ac9f458ea3bed71aca056478e91 sharutils-4.2.1-22.2.x86_64.rpm Red Hat Enterprise Linux ES version 4: SRPMS: ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm fb0f041f40c952667fa9e2415bb95481 sharutils-4.2.1-22.2.src.rpm i386: 5528e7145b01b940474eed14da1a4bf5 sharutils-4.2.1-22.2.i386.rpm ia64: 14609e1cd1f1d403ad562a27ff7090d0 sharutils-4.2.1-22.2.ia64.rpm x86_64: 96fa0ac9f458ea3bed71aca056478e91 sharutils-4.2.1-22.2.x86_64.rpm Red Hat Enterprise Linux WS version 4: SRPMS: ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/sharutils-4.2.1-22.2.src.rpm fb0f041f40c952667fa9e2415bb95481 sharutils-4.2.1-22.2.src.rpm i386: 5528e7145b01b940474eed14da1a4bf5 sharutils-4.2.1-22.2.i386.rpm ia64: 14609e1cd1f1d403ad562a27ff7090d0 sharutils-4.2.1-22.2.ia64.rpm x86_64: 96fa0ac9f458ea3bed71aca056478e91 sharutils-4.2.1-22.2.x86_64.rpm 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 |
Original Source
Url : https://rhn.redhat.com/errata/RHSA-2005-377.html |
OVAL Definitions
Definition Id: oval:org.mitre.oval:def:11093 | |||
Oval ID: | oval:org.mitre.oval:def:11093 | ||
Title: | Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar. | ||
Description: | Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-2004-1773 | Version: | 5 |
Platform(s): | Red Hat Enterprise Linux 3 CentOS Linux 3 Red Hat Enterprise Linux 4 CentOS Linux 4 Oracle Linux 4 | Product(s): | |
Definition Synopsis: | |||
|
Definition Id: oval:org.mitre.oval:def:11722 | |||
Oval ID: | oval:org.mitre.oval:def:11722 | ||
Title: | Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o command line argument. | ||
Description: | Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o command line argument. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-2004-1772 | Version: | 5 |
Platform(s): | Red Hat Enterprise Linux 3 CentOS Linux 3 Red Hat Enterprise Linux 4 CentOS Linux 4 Oracle Linux 4 | Product(s): | |
Definition Synopsis: | |||
|
Definition Id: oval:org.mitre.oval:def:9613 | |||
Oval ID: | oval:org.mitre.oval:def:9613 | ||
Title: | unshar (unshar.c) in sharutils 4.2.1 allows local users to overwrite arbitrary files via a symlink attack on the unsh.X temporary file. | ||
Description: | unshar (unshar.c) in sharutils 4.2.1 allows local users to overwrite arbitrary files via a symlink attack on the unsh.X temporary file. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-2005-0990 | Version: | 5 |
Platform(s): | Red Hat Enterprise Linux 3 CentOS Linux 3 Red Hat Enterprise Linux 4 CentOS Linux 4 Oracle Linux 4 | Product(s): | |
Definition Synopsis: | |||
|
CPE : Common Platform Enumeration
Type | Description | Count |
---|---|---|
Application | 2 |
OpenVAS Exploits
Date | Description |
---|---|
2008-09-24 | Name : Gentoo Security Advisory GLSA 200410-01 (sharutils) File : nvt/glsa_200410_01.nasl |
2008-09-04 | Name : FreeBSD Ports: sharutils File : nvt/freebsd_sharutils.nasl |
2008-09-04 | Name : FreeBSD Ports: sharutils File : nvt/freebsd_sharutils0.nasl |
Open Source Vulnerability Database (OSVDB)
Id | Description |
---|---|
15376 | GNU sharutils unshar Unspecified Overflow |
15375 | GNU sharutils shar Output Overflow A local overflow exists in GNU sharutils shar command. GNU shar fails to check the length of data returned by the shar command resulting in a buffer overflow. With a specially crafted shar archive, an attacker can cause loss of integrity. |
15260 | GNU sharutils unshar Symlink Arbitrary File Overwrite |
10231 | GNU sharutils shar -o Option Local Overflow A local overflow exists in GNU sharutils. The shar command from sharutils fails to correctly limit the size of the value passed in with the -o option resulting in a buffer overflow. With a specially crafted request, an attacker can cause a denial of service and possible code execution resulting in a loss of integrity. |
Nessus® Vulnerability Scanner
Date | Description |
---|---|
2009-04-23 | Name : The remote FreeBSD host is missing a security-related update. File : freebsd_pkg_26c9e8c61c9911d9814e0001020eed82.nasl - Type : ACT_GATHER_INFO |
2006-07-03 | Name : The remote CentOS host is missing a security update. File : centos_RHSA-2005-377.nasl - Type : ACT_GATHER_INFO |
2005-09-12 | Name : The remote Fedora Core host is missing a security update. File : fedora_2005-319.nasl - Type : ACT_GATHER_INFO |
2005-07-13 | Name : The remote FreeBSD host is missing a security-related update. File : freebsd_pkg_5f003a08ba3c11d9837d000e0c2e438a.nasl - Type : ACT_GATHER_INFO |
2005-05-19 | Name : The remote Fedora Core host is missing a security update. File : fedora_2005-280.nasl - Type : ACT_GATHER_INFO |
2005-04-27 | Name : The remote Red Hat host is missing a security update. File : redhat-RHSA-2005-377.nasl - Type : ACT_GATHER_INFO |
2005-04-08 | Name : The remote Mandrake Linux host is missing a security update. File : mandrake_MDKSA-2005-067.nasl - Type : ACT_GATHER_INFO |
2004-10-01 | Name : The remote Gentoo host is missing one or more security-related patches. File : gentoo_GLSA-200410-01.nasl - Type : ACT_GATHER_INFO |
Alert History
Date | Informations |
---|---|
2014-02-17 11:49:17 |
|