blob: d2b5ae40ca69494ef795d2674f6c28a385e9beab [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200410-08">
<title>ncompress: Buffer overflow</title>
compress and uncompress, which could be used by daemon programs, contain a
buffer overflow that could lead to remote execution of arbitrary code with
the rights of the daemon process.
<product type="ebuild">ncompress</product>
<announced>October 09, 2004</announced>
<revised>May 22, 2006: 02</revised>
<package name="app-arch/ncompress" auto="yes" arch="*">
<unaffected range="ge">4.2.4-r1</unaffected>
<vulnerable range="le">4.2.4</vulnerable>
ncompress is a utility handling compression and decompression of
Lempel-Ziv archives, compatible with the original *nix compress and
uncompress utilities (.Z extensions).
compress and uncompress do not properly check bounds on command line
options, including the filename. Large parameters would trigger a
buffer overflow.
<impact type="normal">
By supplying a carefully crafted filename or other option, an attacker
could execute arbitrary code on the system. A local attacker could only
execute code with his own rights, but since compress and uncompress are
called by various daemon programs, this might also allow a remote
attacker to execute code with the rights of the daemon making use of
There is no known workaround at this time.
All ncompress users should upgrade to the latest version:
# emerge sync
# emerge -pv &quot;&gt;=app-arch/ncompress-4.2.4-r1&quot;
# emerge &quot;&gt;=app-arch/ncompress-4.2.4-r1&quot;</code>
<uri link="">US-CERT Vulnerability Note VU#176363</uri>
<uri link="">CVE-2001-1413</uri>
<metadata tag="requester" timestamp="Fri, 8 Oct 2004 21:09:39 +0000">
<metadata tag="bugReady" timestamp="Fri, 8 Oct 2004 21:11:15 +0000">
<metadata tag="submitter" timestamp="Sat, 9 Oct 2004 10:24:20 +0000">