Gentoo Linux Security Advisory 201502-11 - Two vulnerabilities have been found in GNU cpio, the worst of which could result in execution of arbitrary code. Versions less than 2.11-r3 are affected.
f1f78684fd995e9d27931a80192594ed6935913d54f7976cc9c14a41f436eb3f
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201502-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: GNU cpio: Multiple vulnerabilities
Date: February 15, 2015
Bugs: #530512, #536010
ID: 201502-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Two vulnerabilities have been found in GNU cpio, the worst of which
could result in execution of arbitrary code.
Background
==========
GNU cpio copies files into or out of a cpio or tar archive.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-arch/cpio < 2.11-r3 >= 2.11-r3
Description
===========
Two vulnerabilities have been discovered in GNU cpio:
* The list_file function in GNU cpio contains a heap-based buffer
overflow vulnerability (CVE-2014-9112)
* A directory traversal vulnerability has been found in GNU cpio
(CVE-2015-1197)
Impact
======
A remote attacker may be able to entice a user to open a specially
crafted archive using GNU cpio, possibly resulting in execution of
arbitrary code, a Denial of Service condition, or overwriting arbitrary
files.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All GNU cpio users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/cpio-2.11-r3"
References
==========
[ 1 ] CVE-2014-9112
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-9112
[ 2 ] CVE-2015-1197
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-1197
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-201502-11.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
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2015 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.5