Gentoo Logo

gzip: Multiple vulnerabilities

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200505-05 / gzip
Release Date May 09, 2005
Latest Revision May 09, 2005: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/gzip < 1.3.5-r6 >= 1.3.5-r6 All supported architectures

Related bugreports: #89946, #90626

Synopsis

gzip contains multiple vulnerabilities potentially allowing an attacker to execute arbitrary commands.

2.  Impact Information

Background

gzip (GNU zip) is a popular compression program. The included zgrep utility allows you to grep gzipped files in place.

Description

The gzip and gunzip programs are vulnerable to a race condition when setting file permissions (CAN-2005-0988), as well as improper handling of filename restoration (CAN-2005-1228). The zgrep utility improperly sanitizes arguments, which may come from an untrusted source (CAN-2005-0758).

Impact

These vulnerabilities could allow arbitrary command execution, changing the permissions of arbitrary files, and installation of files to an aribitrary location in the filesystem.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All gzip users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r6"

4.  References



Print

Page updated May 09, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.