GLSA-200506-16 : cpio: Directory traversal vulnerability

low Nessus Plugin ID 18531

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.

Solution

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

See Also

https://www.securityfocus.com/archive/1/396429

https://security.gentoo.org/glsa/200506-16

Plugin Details

Severity: Low

ID: 18531

File Name: gentoo_GLSA-200506-16.nasl

Version: 1.17

Type: local

Published: 6/20/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 3.7

Vector: CVSS2#AV:L/AC:H/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

Patch Publication Date: 6/20/2005

Reference Information

CVE: CVE-2005-1111

GLSA: 200506-16