Debian DSA-752-1 : gzip - several vulnerabilities

medium Nessus Plugin ID 18673

Synopsis

The remote Debian host is missing a security-related update.

Description

Two problems have been discovered in gzip, the GNU compression utility. The Common Vulnerabilities and Exposures project identifies the following problems.

- CAN-2005-0988 Imran Ghory discovered a race condition in the permissions setting code in gzip. When decompressing a file in a directory an attacker has access to, gunzip could be tricked to set the file permissions to a different file the user has permissions to.

- CAN-2005-1228

Ulf Harnhammar discovered a path traversal vulnerability in gunzip. When gunzip is used with the -N option an attacker could use this vulnerability to create files in an arbitrary directory with the permissions of the user.

Solution

Upgrade the gzip package.

For the oldstable distribution (woody) these problems have been fixed in version 1.3.2-3woody5.

For the stable distribution (sarge) these problems have been fixed in version 1.3.5-10.

See Also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305255

http://www.debian.org/security/2005/dsa-752

Plugin Details

Severity: Medium

ID: 18673

File Name: debian_DSA-752.nasl

Version: 1.20

Type: local

Agent: unix

Published: 7/12/2005

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:3.0, p-cpe:/a:debian:debian_linux:gzip, cpe:/o:debian:debian_linux:3.1

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 7/11/2005

Vulnerability Publication Date: 4/4/2005

Reference Information

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

DSA: 752