Distro advisory · Debian 3.0
gzip - several
Description
Vulnerability : several Problem-Type : local (remote) Debian-specific: no CVE ID : CAN-2005-0988 CAN-2005-1228 Debian Bug : 305255
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 Härnhammar discovered a path traversal vulnerability in
gunzip. When gunzip is used with the -N option an attacker could
this vulnerability to create files in an arbitrary directory with
the permissions of the user.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade gzipdpkg -s gzip | grep VersionSources