Gentoo Logo

Cpio: Buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200711-18 / cpio
Release Date November 14, 2007
Latest Revision November 14, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/cpio < 2.9-r1 >= 2.9-r1 All supported architectures

Related bugreports: #196978

Synopsis

GNU cpio contains a buffer overflow vulnerability, possibly resulting in a Denial of Service.

2.  Impact Information

Background

GNU cpio copies files into or out of a cpio or tar archive.

Description

A buffer overflow vulnerability in the safer_name_suffix() function in GNU cpio has been discovered.

Impact

A remote attacker could entice a user to open a specially crafted archive file resulting in a stack-based buffer overflow, possibly crashing the application. It is disputed whether the execution of arbitrary code is possible.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All GNU cpio users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/cpio-2.9-r1"

4.  References



Print

Page updated November 14, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.