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

medium Nessus Plugin ID 21065

Synopsis

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

Description

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.

Solution

Update the affected tar package.

Plugin Details

Severity: Medium

ID: 21065

File Name: ubuntu_USN-257-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 3/13/2006

Updated: 1/19/2021

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent

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: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: 2/23/2006

Vulnerability Publication Date: 2/22/2006

Reference Information

CVE: CVE-2006-0300

USN: 257-1