Mandrake Linux Security Advisory : gzip (MDKSA-2005:092)

medium Nessus Plugin ID 18308

Synopsis

The remote Mandrake Linux host is missing a security update.

Description

Several vulnerabilities have been discovered in the gzip package :

Zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script. (CVE-2005-0758)

A race condition in gzip 1.2.4, 1.3.3, and earlier when decompressing a gzip file allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by gzip after the decompression is complete. (CVE-2005-0988)

A directory traversal vulnerability via 'gunzip -N' in gzip 1.2.4 through 1.3.5 allows remote attackers to write to arbitrary directories via a .. (dot dot) in the original filename within a compressed file. (CVE-2005-1228)

Updated packages are patched to address these issues.

Solution

Update the affected gzip package.

Plugin Details

Severity: Medium

ID: 18308

File Name: mandrake_MDKSA-2005-092.nasl

Version: 1.18

Type: local

Published: 5/19/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:gzip, cpe:/o:mandrakesoft:mandrake_linux:10.0, cpe:/o:mandrakesoft:mandrake_linux:10.1, x-cpe:/o:mandrakesoft:mandrake_linux:le2005

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 5/18/2005

Reference Information

CVE: CVE-2005-0758, CVE-2005-0988, CVE-2005-1228

MDKSA: 2005:092