GLSA-200812-10 : Archive::Tar: Directory traversal vulnerability

medium Nessus Plugin ID 35085

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-200812-10 (Archive::Tar: Directory traversal vulnerability)

Jonathan Smith of rPath reported that Archive::Tar does not check for '..' in file names.
Impact :

A remote attacker could entice a user or automated system to extract a specially crafted tar archive, overwriting files at arbitrary locations outside of the specified directory.
Workaround :

There is no known workaround at this time.

Solution

All Archive::Tar users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=perl-core/Archive-Tar-1.40'

See Also

https://security.gentoo.org/glsa/200812-10

Plugin Details

Severity: Medium

ID: 35085

File Name: gentoo_GLSA-200812-10.nasl

Version: 1.14

Type: local

Published: 12/11/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

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:archive-tar, 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: 12/10/2008

Reference Information

CVE: CVE-2007-4829

BID: 26355

CWE: 22

GLSA: 200812-10