blob: 24526edbdb7cea0c653a51dd136e35e5b9a7ae77 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200406-18">
<title>gzip: Insecure creation of temporary files</title>
gzip contain a bug potentially allowing an attacker to execute arbitrary
<product type="ebuild">gzip</product>
<announced>June 24, 2004</announced>
<revised>May 22, 2006: 02</revised>
<package name="app-arch/gzip" auto="yes" arch="*">
<unaffected range="ge">1.3.3-r4</unaffected>
<vulnerable range="le">1.3.3-r3</vulnerable>
gzip (GNU zip) is popular compression program. The included gzexe
utility allows you to compress executables in place and have them
automatically uncompress and execute when you run them.
The script gzexe included with gzip contains a bug in the code that
handles tempfile creation. If the creation of a temp file fails when
using gzexe fails instead of bailing out it executes the command given
as argument.
<impact type="normal">
This could lead to priviege escalation by running commands under the
rights of the user running the self extracting file.
There is no known workaround at this time. All users are encouraged to
upgrade to the latest available version.
All gzip users should upgrade to the latest stable version:
# emerge sync
# emerge -pv &quot;&gt;=app-arch/gzip-1.3.3-r4&quot;
# emerge &quot;&gt;=app-arch/gzip-1.3.3-r4&quot;</code>
Additionally, once the upgrade is complete, all self extracting files
created with earlier versions gzexe should be recreated, since the
vulnerability is actually embedded in those executables.
<uri link="">CVE-2004-0603</uri>
<metadata tag="submitter">