blob: ea8cb262a7b2ccfaaf78054a718cd5b962d936d6 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200412-09">
<title>ncpfs: Buffer overflow in ncplogin and ncpmap</title>
<synopsis>
ncpfs is vulnerable to a buffer overflow that could lead to local execution
of arbitrary code with elevated privileges.
</synopsis>
<product type="ebuild">ncpfs</product>
<announced>December 15, 2004</announced>
<revised>December 15, 2004: 01</revised>
<bug>72820</bug>
<access>local</access>
<affected>
<package name="net-fs/ncpfs" auto="yes" arch="*">
<unaffected range="ge">2.2.5</unaffected>
<vulnerable range="lt">2.2.5</vulnerable>
</package>
</affected>
<background>
<p>
ncpfs is a NCP protocol network filesystem that allows access to
Netware services, for example to mount volumes of NetWare servers or
print to NetWare print queues.
</p>
</background>
<description>
<p>
Karol Wiesek discovered a buffer overflow in the handling of the
'-T' option in the ncplogin and ncpmap utilities, which are both
installed as SUID root by default.
</p>
</description>
<impact type="high">
<p>
A local attacker could trigger the buffer overflow by calling one
of these utilities with a carefully crafted command line, potentially
resulting in execution of arbitrary code with root privileges.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All ncpfs users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-fs/ncpfs-2.2.5&quot;</code>
</resolution>
<references>
<uri link="http://lists.netsys.com/pipermail/full-disclosure/2004-November/029563.html">Full Disclosure Advisory</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1079">CAN-2004-1079</uri>
</references>
<metadata tag="requester" timestamp="Thu, 9 Dec 2004 07:35:34 +0000">
jaervosz
</metadata>
<metadata tag="submitter" timestamp="Tue, 14 Dec 2004 14:41:20 +0000">
koon
</metadata>
<metadata tag="bugReady" timestamp="Tue, 14 Dec 2004 16:10:38 +0000">
koon
</metadata>
</glsa>