GLSA-201402-19 : libtar: Arbitraty code execution

medium Nessus Plugin ID 72633

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-201402-19 (libtar: Arbitraty code execution)

An integer overflow error within the “th_read()” function when processing long names or link extensions can be exploited to cause a heap-based buffer overflow via a specially crafted archive.
Impact :

A remote attacker could entice a user to open a specially crafted file using a program linked against libtar, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All libtar users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/libtar-1.2.20-r2'

See Also

https://security.gentoo.org/glsa/201402-19

Plugin Details

Severity: Medium

ID: 72633

File Name: gentoo_GLSA-201402-19.nasl

Version: 1.7

Type: local

Published: 2/23/2014

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: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:libtar

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/21/2014

Reference Information

CVE: CVE-2013-4397

BID: 62922

GLSA: 201402-19