GLSA-200506-16 : cpio: Directory traversal vulnerability

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200506-16
(cpio: Directory traversal vulnerability)

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.

See also :

http://www.securityfocus.com/archive/1/396429
http://www.gentoo.org/security/en/glsa/glsa-200506-16.xml

Solution :

All cpio users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-arch/cpio-2.6-r3'

Risk factor :

Low / CVSS Base Score : 3.7
(CVSS2#AV:L/AC:H/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 18531 (gentoo_GLSA-200506-16.nasl)

Bugtraq ID:

CVE ID: CVE-2005-1111