GNU cpio file size buffer overflow

cpio-file-size-bo (23855) The risk level is classified as HighHigh Risk

Description:

GNU cpio on 64-bit platforms is vulnerable to a buffer overflow. By creating a cpio archive with size of more than eight digits, a local attacker could overflow a buffer and cause a denial of service or execute arbitrary code on the system with elevated privileges.

*CVSS:

Base Score: 4.9
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 3.6
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

For Mandrivalinux:
Refer to Mandriva Security Advisory MDKSA-2005:237 for upgrade information. See References.

For Ubuntu Linux:
Refer to USN-234-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • F5 Networks Web site: Release Note: Enterprise Manager version 2.3.0.
  • GNU Project Web site: Cpio.
  • Oracle Critical Patch Update Advisory - July 2011: Oracle Critical Patch Update Advisory - July 2011.
  • Red Hat Bugzilla Bug 172669: CVE-2005-4268 cpio large filesize buffer overflow.
  • VMSA-2010-0013 : VMware ESX third party updates for Service Console.
  • ASA-2007-251: cpio security and bug fix update (RHSA-2007-0245)
  • BID-16057: CPIO File Size Stack Buffer Overflow Vulnerability
  • BID-40235: MIT Kerberos GSS-API Checksum NULL Pointer Dereference Denial Of Service Vulnerability
  • BID-40305: Perl Safe Module 'reval()' and 'rdo()' CVE-2010-1447 Restriction-Bypass Vulnerabilities
  • BID-40884: Samba 'SMB1 Packet Chaining' Unspecified Remote Memory Corruption Vulnerability
  • CVE-2005-4268: Buffer overflow in cpio 2.6-8.FC4 on 64-bit platforms, when creating a cpio archive, allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a file whose size is represented by more than 8 digits.
  • CVE-2010-0624: Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client functionality in GNU tar before 1.23 and GNU cpio before 2.11 allows remote rmt servers to cause a denial of service (memory corruption) or possibly execute arbitrary code by sending more data than was requested, related to archive filenames that contain a : (colon) character.
  • CVE-2010-1168: The Safe (aka Safe.pm) module before 2.25 for Perl allows context-dependent attackers to bypass intended (1) Safe::reval and (2) Safe::rdo access restrictions, and inject and execute arbitrary code, via vectors involving implicitly called methods and implicitly blessed objects, as demonstrated by the (a) DESTROY and (b) AUTOLOAD methods, related to automagic methods.
  • CVE-2010-1321: The kg_accept_krb5 function in krb5/accept_sec_context.c in the GSS-API library in MIT Kerberos 5 (aka krb5) through 1.7.1 and 1.8 before 1.8.2, as used in kadmind and other applications, does not properly check for invalid GSS-API tokens, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and daemon crash) via an AP-REQ message in which the authenticator's checksum field is missing.
  • CVE-2010-1447: The Safe (aka Safe.pm) module 2.26, and certain earlier versions, for Perl, as used in PostgreSQL 7.4 before 7.4.29, 8.0 before 8.0.25, 8.1 before 8.1.21, 8.2 before 8.2.17, 8.3 before 8.3.11, 8.4 before 8.4.4, and 9.0 Beta before 9.0 Beta 2, allows context-dependent attackers to bypass intended (1) Safe::reval and (2) Safe::rdo access restrictions, and inject and execute arbitrary code, via vectors involving subroutine references and delayed execution.
  • CVE-2010-2063: Buffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.
  • DSA-2052: krb5 -- null pointer dereference
  • DSA-2061: samba -- memory corruption
  • DSA-2267: perl -- restriction bypass
  • MDKSA-2005:237: Updated cpio packages fix buffer overflow on x86_64
  • MDVSA-2010:065: cpio
  • MDVSA-2010:100: krb5
  • MDVSA-2010:115: perl
  • MDVSA-2010:116: perl
  • MDVSA-2010:119: samba
  • MDVSA-2010:129: heimdal
  • OSVDB ID: 22194: cpio on 64-bit Large File Size Handling Overflow
  • OSVDB ID: 62950: GNU tar rmt Client lib/rtapelib.c rmt_read__ Function Remote Overflow
  • OSVDB ID: 64744: MIT Kerberos 5 GSS-API AP-REQ Authenticator NULL Dereference Remote DoS
  • OSVDB ID: 64756: PostgreSQL Safe Module PL / perl Procedure Restriction Weakness Arbitrary Perl Code Execution (2010-1447)
  • OSVDB ID: 65518: Samba smbd process.c chain_reply Function SMB1 Packet Chaining Memory Corruption
  • RHSA-2007-0245: Low: cpio security and bug fix update
  • RHSA-2010-0141: Moderate: tar security update
  • RHSA-2010-0142: Moderate: tar security update
  • RHSA-2010-0143: Moderate: cpio security update
  • RHSA-2010-0144: Moderate: cpio security update
  • RHSA-2010-0145: Moderate: cpio security update
  • RHSA-2010-0423: Important: krb5 security update
  • RHSA-2010-0457: Moderate: perl security update
  • RHSA-2010-0458: Moderate: perl security update
  • RHSA-2010-0488: Critical: samba and samba3x security update
  • RHSA-2010-0770: Critical: java-1.6.0-sun security update
  • RHSA-2010-0807: Critical: java-1.5.0-ibm security update
  • RHSA-2010-0873: Critical: java-1.5.0-ibm security update
  • RHSA-2010-0935: Moderate: java-1.4.2-ibm security update
  • RHSA-2010-0987: Critical: java-1.6.0-ibm security and bug fix update
  • RHSA-2011-0152: Moderate: java-1.4.2-ibm security update
  • RHSA-2011-0880: Low: Red Hat Network Satellite server IBM Java Runtime security update
  • SA18251: Cpio Large File Size Handling Denial of Service Vulnerability
  • SA38869: GNU Cpio "rmt" Buffer Overflow Vulnerability
  • SA39762: Kerberos GSS-API NULL Pointer Dereference Vulnerability
  • SA39845: PostgreSQL Two Vulnerabilities
  • SA40145: Samba SMB1 Packet Chaining Memory Corruption Vulnerability
  • SA41196: VMware ESX Server Multiple Vulnerabilities
  • SA41262: VMware ESX Server Multiple Vulnerabilities
  • SA42280: VMware ESX / ESXi Server Update for Multiple Packages
  • SA42402: Oracle Solaris Perl Safe Module Security Bypass
  • SA42974: Oracle JRockit Multiple Vulnerabilities
  • SA43335: Avaya Communication Manager krb5 GSS-API NULL Pointer Dereference Vulnerability
  • SA47305: F5 Enterprise Manager Multiple Vulnerabilities
  • SECTRACK ID: 1023988: PostgreSQL Flaws in Safe.pm and PL/Perl Let Remote Authenticated Users Gain Elevated Privileges
  • SECTRACK ID: 1024062: Perl Safe Module (Safe::reval and Safe::rdo) Can Be Bypassed
  • SECTRACK ID: 1024107: Samba SMB1 Packet Chaining Memory Corruption Error Lets Remote Users Execute Arbitrary Code
  • SUSE-SA:2010:025: Samba security update
  • SUSE-SA:2011:006: IBM Java 6 security update
  • SUSE-SA:2011:014: IBM Java security update
  • SUSE-SR:2006:010: SUSE Security Summary Report
  • SUSE-SR:2010:011: SUSE Security Summary Report
  • SUSE-SR:2010:013: SUSE Security Summary Report
  • SUSE-SR:2010:015: SUSE Security Summary Report
  • SUSE-SR:2010:016: SUSE Security Summary Report
  • SUSE-SR:2010:019: SUSE Security Summary Report
  • SUSE-SR:2011:008: SUSE Security Summary Report
  • USN-234-1: cpio vulnerability

Platforms Affected:

  • Canonical Ubuntu 4.10
  • Canonical Ubuntu 5.04
  • Canonical Ubuntu 5.10
  • Debian Debian Linux 5.0
  • F5 Enterprise Manager 2.0
  • GNU cpio 2.6-8.FC4
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • Mandriva Enterprise Server 5
  • Mandriva Enterprise Server 5 X86_64
  • Mandriva Linux 2009.0
  • Mandriva Linux 2009.0 X86_64
  • Mandriva Linux 2009.1
  • Mandriva Linux 2009.1 X86_64
  • Mandriva Linux 2010
  • Mandriva Linux 2010 X86_64
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell OpenSUSE 11.0
  • Novell SLE SDK 10
  • Novell SUSE Linux Enterprise Server 10
  • Oracle Security Service 11.1.1.3
  • Oracle Security Service 11.1.1.4
  • Oracle Security Service 11.1.1.5
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4.7.z AS
  • RedHat Enterprise Linux 4.8.z ES
  • RedHat Enterprise Linux 4.8.z AS
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5.3.z EUS
  • RedHat Enterprise Linux 5.4.z EUS
  • RedHat Enterprise Linux 6 Workstation
  • RedHat Enterprise Linux Desktop Supplementary 6
  • RedHat Enterprise Linux HPC Node Supplementary 6
  • RedHat Enterprise Linux Long Life 5.3
  • RedHat Enterprise Linux Server Supplementary 6
  • RedHat Enterprise Linux Workstation Supplementary 6
  • RedHat Red Hat Enterprise Linux 4.7.z ES
  • RedHat Red Hat Enterprise Linux 4.8.z Extras
  • RedHat RHEL Desktop Supplementary 5 Client
  • RedHat RHEL Extras 4
  • RedHat RHEL Supplementary 5 Server
  • SuSE SuSE SLES 9
  • VMware ESX Server 3.0.0
  • VMware ESX Server 4.0

Reported:

Dec 23, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.