Executive Summary
Summary | |
---|---|
Title | cpio security update |
Informations | |||
---|---|---|---|
Name | RHSA-2005:806 | First vendor Publication | 2005-11-10 |
Vendor | RedHat | Last vendor Modification | 2005-11-10 |
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:L/AC:H/Au:N/C:P/I:P/A:P) | |||
---|---|---|---|
Cvss Base Score | 3.7 | Attack Range | Local |
Cvss Impact Score | 6.4 | Attack Complexity | High |
Cvss Expoit Score | 1.9 | Authentication | None Required |
Calculate full CVSS 2.0 Vectors scores |
Detail
Problem Description: An updated cpio package that fixes multiple issues is now available. This update has been rated as having low security impact by the Red Hat Security Response Team. 2. Relevant releases/architectures: Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64 Red Hat Linux Advanced Workstation 2.1 - ia64 Red Hat Enterprise Linux ES version 2.1 - i386 Red Hat Enterprise Linux WS version 2.1 - i386 3. Problem description: GNU cpio copies files into or out of a cpio or tar archive. A race condition bug was found in cpio. It is possible for a local malicious user to modify the permissions of a local file if they have write access to a directory in which a cpio archive is being extracted. The Common Vulnerabilities and Exposures project has assigned the name CVE-2005-1111 to this issue. It was discovered that cpio uses a 0 umask when creating files using the -O (archive) option. This creates output files with mode 0666 (all users can read and write) regardless of the user's umask setting. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-1999-1572 to this issue. All users of cpio are advised to upgrade to this updated package, which contains backported fixes for these issues. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. Bug IDs fixed (http://bugzilla.redhat.com/): 169760 - CVE-2005-1111 Race condition in cpio 172191 - CVE-1999-1572 cpio insecure file creation |
Original Source
Url : https://rhn.redhat.com/errata/RHSA-2005-806.html |
CWE : Common Weakness Enumeration
% | Id | Name |
---|---|---|
50 % | CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
50 % | CWE-59 | Improper Link Resolution Before File Access ('Link Following') |
OVAL Definitions
Definition Id: oval:org.mitre.oval:def:10888 | |||
Oval ID: | oval:org.mitre.oval:def:10888 | ||
Title: | cpio on FreeBSD 2.1.0, Debian GNU/Linux 3.0, and possibly other operating systems, uses a 0 umask when creating files using the -O (archive) or -F options, which creates the files with mode 0666 and allows local users to read or overwrite those files. | ||
Description: | cpio on FreeBSD 2.1.0, Debian GNU/Linux 3.0, and possibly other operating systems, uses a 0 umask when creating files using the -O (archive) or -F options, which creates the files with mode 0666 and allows local users to read or overwrite those files. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-1999-1572 | 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:358 | |||
Oval ID: | oval:org.mitre.oval:def:358 | ||
Title: | cpio Race Condition | ||
Description: | Race condition in cpio 2.6 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by cpio after the decompression is complete. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-2005-1111 | Version: | 1 |
Platform(s): | Red Hat Enterprise Linux 3 | Product(s): | cpio |
Definition Synopsis: | |||
|
Definition Id: oval:org.mitre.oval:def:9783 | |||
Oval ID: | oval:org.mitre.oval:def:9783 | ||
Title: | Race condition in cpio 2.6 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by cpio after the decompression is complete. | ||
Description: | Race condition in cpio 2.6 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by cpio after the decompression is complete. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-2005-1111 | 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
OpenVAS Exploits
Date | Description |
---|---|
2008-09-24 | Name : Gentoo Security Advisory GLSA 200506-16 (cpio) File : nvt/glsa_200506_16.nasl |
2008-09-04 | Name : FreeBSD Security Advisory (FreeBSD-SA-06:03.cpio.asc) File : nvt/freebsdsa_cpio.nasl |
2008-01-17 | Name : Debian Security Advisory DSA 664-1 (cpio) File : nvt/deb_664_1.nasl |
2008-01-17 | Name : Debian Security Advisory DSA 846-1 (cpio) File : nvt/deb_846_1.nasl |
Open Source Vulnerability Database (OSVDB)
Id | Description |
---|---|
15725 | cpio Race Condition Arbitrary File Permission Modification cpio contains a flaw that may allow a malicious user to modify permissions of arbitrary files. The issue is triggered via a hard link attack on a file while it is being decompressed. It is possible that the flaw may allow arbitrary file permission modification resulting in a loss of confidentiality and integrity. |
13350 | cpio -O Parameter umask Permission Weakness |
Nessus® Vulnerability Scanner
Date | Description |
---|---|
2006-07-03 | Name : The remote CentOS host is missing a security update. File : centos_RHSA-2005-378.nasl - Type : ACT_GATHER_INFO |
2006-01-15 | Name : The remote Ubuntu host is missing a security-related patch. File : ubuntu_USN-189-1.nasl - Type : ACT_GATHER_INFO |
2006-01-15 | Name : The remote Ubuntu host is missing a security-related patch. File : ubuntu_USN-75-1.nasl - Type : ACT_GATHER_INFO |
2005-11-15 | Name : The remote Red Hat host is missing a security update. File : redhat-RHSA-2005-806.nasl - Type : ACT_GATHER_INFO |
2005-10-11 | Name : The remote Debian host is missing a security-related update. File : debian_DSA-846.nasl - Type : ACT_GATHER_INFO |
2005-07-22 | Name : The remote Red Hat host is missing a security update. File : redhat-RHSA-2005-378.nasl - Type : ACT_GATHER_INFO |
2005-07-12 | Name : The remote Mandrake Linux host is missing a security update. File : mandrake_MDKSA-2005-116.nasl - Type : ACT_GATHER_INFO |
2005-06-20 | Name : The remote Gentoo host is missing one or more security-related patches. File : gentoo_GLSA-200506-16.nasl - Type : ACT_GATHER_INFO |
2005-02-22 | Name : The remote Red Hat host is missing a security update. File : redhat-RHSA-2005-073.nasl - Type : ACT_GATHER_INFO |
2005-02-18 | Name : The remote Red Hat host is missing a security update. File : redhat-RHSA-2005-080.nasl - Type : ACT_GATHER_INFO |
2005-02-11 | Name : The remote Mandrake Linux host is missing a security update. File : mandrake_MDKSA-2005-032.nasl - Type : ACT_GATHER_INFO |
2005-02-03 | Name : The remote Debian host is missing a security-related update. File : debian_DSA-664.nasl - Type : ACT_GATHER_INFO |
Alert History
Date | Informations |
---|---|
2014-02-17 11:49:44 |
|