CentOS 3 / 4 : gzip (CESA-2005:357)

Medium Nessus Plugin ID 21810

Synopsis

The remote CentOS host is missing a security update.

Description

An updated gzip package is now available.

This update has been rated as having low security impact by the Red Hat Security Response Team.

The gzip package contains the GNU gzip data compression program.

A bug was found in the way zgrep processes file names. If a user can be tricked into running zgrep on a file with a carefully crafted file name, arbitrary commands could be executed as the user running zgrep.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0758 to this issue.

A bug was found in the way gunzip modifies permissions of files being decompressed. A local attacker with write permissions in the directory in which a victim is decompressing a file could remove the file being written and replace it with a hard link to a different file owned by the victim. gunzip then gives the linked file the permissions of the uncompressed file. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0988 to this issue.

A directory traversal bug was found in the way gunzip processes the -N flag. If a victim decompresses a file with the -N flag, gunzip fails to sanitize the path which could result in a file owned by the victim being overwritten. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1228 to this issue.

Users of gzip should upgrade to this updated package, which contains backported patches to correct these issues.

Solution

Update the affected gzip package.

See Also

http://www.nessus.org/u?369c1b95

http://www.nessus.org/u?384f9d1e

http://www.nessus.org/u?a7f44cee

http://www.nessus.org/u?4c7183fd

http://www.nessus.org/u?4dde1ba1

http://www.nessus.org/u?c15e998d

Plugin Details

Severity: Medium

ID: 21810

File Name: centos_RHSA-2005-357.nasl

Version: 1.20

Type: local

Agent: unix

Published: 2006/07/03

Updated: 2019/10/25

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:gzip, cpe:/o:centos:centos:3, cpe:/o:centos:centos:4

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

Patch Publication Date: 2005/06/13

Vulnerability Publication Date: 2005/05/02

Reference Information

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

RHSA: 2005:357