Ubuntu 5.04 / 5.10 : tar vulnerability (USN-257-1)

Medium Nessus Plugin ID 21065


The remote Ubuntu host is missing a security-related patch.


Jim Meyering discovered that tar did not properly verify the validity of certain header fields in a GNU tar archive. By tricking an user into processing a specially crafted tar archive, this could be exploited to execute arbitrary code with the privileges of the user.

The tar version in Ubuntu 4.10 is not affected by this vulnerability.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected tar package.

Plugin Details

Severity: Medium

ID: 21065

File Name: ubuntu_USN-257-1.nasl

Version: $Revision: 1.11 $

Type: local

Agent: unix

Published: 2006/03/13

Modified: 2016/05/26

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5.1

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:tar, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2006/02/23

Vulnerability Publication Date: 2006/02/22

Reference Information

CVE: CVE-2006-0300

OSVDB: 23371

USN: 257-1