blob: 097a411087496c7f548a852540e0e2946bdbf5c5 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200505-05">
<title>gzip: Multiple vulnerabilities</title>
<synopsis>
gzip contains multiple vulnerabilities potentially allowing an attacker to
execute arbitrary commands.
</synopsis>
<product type="ebuild">gzip</product>
<announced>May 09, 2005</announced>
<revised>May 09, 2005: 01</revised>
<bug>89946</bug>
<bug>90626</bug>
<access>local</access>
<affected>
<package name="app-arch/gzip" auto="yes" arch="*">
<unaffected range="ge">1.3.5-r6</unaffected>
<vulnerable range="lt">1.3.5-r6</vulnerable>
</package>
</affected>
<background>
<p>
gzip (GNU zip) is a popular compression program. The included
zgrep utility allows you to grep gzipped files in place.
</p>
</background>
<description>
<p>
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).
</p>
</description>
<impact type="normal">
<p>
These vulnerabilities could allow arbitrary command execution,
changing the permissions of arbitrary files, and installation of files
to an aribitrary location in the filesystem.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All gzip users should upgrade to the latest stable version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-arch/gzip-1.3.5-r6&quot;</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0758">CAN-2005-0758</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0988">CAN-2005-0988</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1228">CAN-2005-1228</uri>
</references>
<metadata tag="submitter" timestamp="Fri, 06 May 2005 19:23:26 +0000">
r2d2
</metadata>
<metadata tag="bugReady" timestamp="Mon, 09 May 2005 05:30:13 +0000">
r2d2
</metadata>
</glsa>