73 lines
2.4 KiB
XML
73 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
|
<glsa id="200410-08">
|
|
<title>ncompress: Buffer overflow</title>
|
|
<synopsis>
|
|
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.
|
|
</synopsis>
|
|
<product type="ebuild">ncompress</product>
|
|
<announced>2004-10-09</announced>
|
|
<revised count="02">2006-05-22</revised>
|
|
<bug>66251</bug>
|
|
<access>remote</access>
|
|
<affected>
|
|
<package name="app-arch/ncompress" auto="yes" arch="*">
|
|
<unaffected range="ge">4.2.4-r1</unaffected>
|
|
<vulnerable range="le">4.2.4</vulnerable>
|
|
</package>
|
|
</affected>
|
|
<background>
|
|
<p>
|
|
ncompress is a utility handling compression and decompression of
|
|
Lempel-Ziv archives, compatible with the original *nix compress and
|
|
uncompress utilities (.Z extensions).
|
|
</p>
|
|
</background>
|
|
<description>
|
|
<p>
|
|
compress and uncompress do not properly check bounds on command line
|
|
options, including the filename. Large parameters would trigger a
|
|
buffer overflow.
|
|
</p>
|
|
</description>
|
|
<impact type="normal">
|
|
<p>
|
|
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
|
|
ncompress.
|
|
</p>
|
|
</impact>
|
|
<workaround>
|
|
<p>
|
|
There is no known workaround at this time.
|
|
</p>
|
|
</workaround>
|
|
<resolution>
|
|
<p>
|
|
All ncompress users should upgrade to the latest version:
|
|
</p>
|
|
<code>
|
|
# emerge sync
|
|
|
|
# emerge -pv ">=app-arch/ncompress-4.2.4-r1"
|
|
# emerge ">=app-arch/ncompress-4.2.4-r1"</code>
|
|
</resolution>
|
|
<references>
|
|
<uri link="https://www.kb.cert.org/vuls/id/176363">US-CERT Vulnerability Note VU#176363</uri>
|
|
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-1413">CVE-2001-1413</uri>
|
|
</references>
|
|
<metadata tag="requester" timestamp="2004-10-08T21:09:39Z">
|
|
koon
|
|
</metadata>
|
|
<metadata tag="bugReady" timestamp="2004-10-08T21:11:15Z">
|
|
koon
|
|
</metadata>
|
|
<metadata tag="submitter" timestamp="2004-10-09T10:24:20Z">
|
|
koon
|
|
</metadata>
|
|
</glsa>
|