GLSA 200505-05: gzip: Multiple vulnerabilities

Severity:normal
Title:gzip: Multiple vulnerabilities
Date:05/09/2005
Bugs: #89946, #90626
ID:200505-05

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-arch/gzip < 1.3.5-r6 >= 1.3.5-r6 All supported architectures

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.

Workaround

There is no known workaround at this time.

Resolution

All gzip users should upgrade to the latest stable version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200505-05.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!