GLSA-200505-05 : gzip: Multiple vulnerabilities

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200505-05
(gzip: Multiple vulnerabilities)

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml

Solution :

All gzip users should upgrade to the latest stable version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-arch/gzip-1.3.5-r6'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 18231 (gentoo_GLSA-200505-05.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0758
CVE-2005-0988
CVE-2005-1228