GLSA-200603-06 : GNU tar: Buffer overflow

medium Nessus Plugin ID 21044

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-200603-06 (GNU tar: Buffer overflow)

Jim Meyering discovered a flaw in the handling of certain header fields that could result in a buffer overflow when extracting or listing the contents of an archive.
Impact :

A remote attacker could construct a malicious tar archive that could potentially execute arbitrary code with the privileges of the user running GNU tar.
Workaround :

There is no known workaround at this time.

Solution

All GNU tar users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/tar-1.15.1-r1'

See Also

https://security.gentoo.org/glsa/200603-06

Plugin Details

Severity: Medium

ID: 21044

File Name: gentoo_GLSA-200603-06.nasl

Version: 1.15

Type: local

Published: 3/13/2006

Updated: 1/6/2021

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:tar, cpe:/o:gentoo:linux

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

Patch Publication Date: 3/10/2006

Vulnerability Publication Date: 2/22/2006

Reference Information

CVE: CVE-2006-0300

GLSA: 200603-06