GLSA-201311-21 : cpio: Arbitrary code execution

medium Nessus Plugin ID 71123
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


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.


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

See Also

Plugin Details

Severity: Medium

ID: 71123

File Name: gentoo_GLSA-201311-21.nasl

Version: 1.7

Type: local

Published: 11/29/2013

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:cpio, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/28/2013

Reference Information

CVE: CVE-2010-0624

BID: 38628

GLSA: 201311-21