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

Medium Nessus Plugin ID 18308


The remote Mandrake Linux host is missing a security update.


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.


Update the affected gzip package.

Plugin Details

Severity: Medium

ID: 18308

File Name: mandrake_MDKSA-2005-092.nasl

Version: $Revision: 1.15 $

Type: local

Published: 2005/05/19

Modified: 2013/05/31

Dependencies: 12634

Risk Information

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: 2005/05/18

Reference Information

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

MDKSA: 2005:092