GLSA-201311-21 : cpio: Arbitrary code execution

medium Nessus Plugin ID 71123

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.

Solution

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

See Also

https://security.gentoo.org/glsa/201311-21

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

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

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