Date: Sun, 19 Jun 2005 23:22:55 -0400
From: Luke Macken <lewk@gentoo.org.>
To: [email protected]Subject: [ GLSA 200506-16 ] cpio: Directory traversal vulnerability
Message-ID: <20050620032254.GB14636@tomservo.>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R"
Content-Disposition: inline
User-Agent: Mutt/1.5.8i
X-Virus-Scanned: antivirus-gw at tyumen.ru
--kXdP64Ggrk/fb43R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200506-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: cpio: Directory traversal vulnerability
Date: June 20, 2005
Bugs: #90619
ID: 200506-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
cpio contains a flaw which may allow a specially crafted cpio archive
to extract files to an arbitrary directory.
Background
==========
cpio is a file archival tool which can also read and write tar files.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-arch/cpio < 2.6-r3 >= 2.6-r3
Description
===========
A vulnerability has been found in cpio that can potentially allow a
cpio archive to extract its files to an arbitrary directory of the
creator's choice.
Impact
======
An attacker could create a malicious cpio archive which would create
files in arbitrary locations on the victim's system. This issue could
also be used in conjunction with a previous race condition
vulnerability (CAN-2005-1111) to change permissions on files owned by
the victim.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All cpio users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/cpio-2.6-r3"
References
==========
[ 1 ] Original Advisory
http://www.securityfocus.com/archive/1/396429
[ 2 ] CAN-2005-1111
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1111
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200506-16.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.0
--kXdP64Ggrk/fb43R
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCtjaORsm3eDkOu7kRAkuVAKCQwy8kAa0R7hzU+KZUH66l+HO9AwCgljLc
V4aQAxTeZ6ZqVwnE1hmoaaU=
=Un0W
-----END PGP SIGNATURE-----
--kXdP64Ggrk/fb43R--