GLSA-201402-19 : libtar: Arbitraty code execution

Medium Nessus Plugin ID 72633


The remote Gentoo host is missing one or more security-related patches.


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.


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

See Also

Plugin Details

Severity: Medium

ID: 72633

File Name: gentoo_GLSA-201402-19.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2014/02/23

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Temporal Score: 5.9

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libtar, 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: 2014/02/21

Reference Information

CVE: CVE-2013-4397

BID: 62922

OSVDB: 98301

GLSA: 201402-19