GLSA-201311-21 : cpio: Arbitrary code execution

This script is Copyright (C) 2013-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-201311-21
(cpio: Arbitrary code execution)

Cpio contains a heap-based buffer overflow in the rmt_read__ function in
lib/rtapelib.c.

Impact :

A remote server could sending more data than was requested, related to
archive filenames that contain a : (colon) character, possibly resulting
in execution of arbitrary code or a Denial of Service condition.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201311-21.xml

Solution :

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

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.9
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 71123 ()

Bugtraq ID: 38628

CVE ID: CVE-2010-0624