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.5

Type: local

Published: 2013/11/29

Updated: 2018/07/12

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.8

Temporal Score: 5

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

Temporal Vector: CVSS2#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 Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2013/11/28

Reference Information

CVE: CVE-2010-0624

BID: 38628

GLSA: 201311-21