68 lines
2.2 KiB
XML
68 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
|
<glsa id="200511-19">
|
|
<title>eix: Insecure temporary file creation</title>
|
|
<synopsis>
|
|
eix has an insecure temporary file creation vulnerability, potentially
|
|
allowing a local user to overwrite arbitrary files.
|
|
</synopsis>
|
|
<product type="ebuild">eix</product>
|
|
<announced>2005-11-22</announced>
|
|
<revised count="02">2006-05-22</revised>
|
|
<bug>112061</bug>
|
|
<access>local</access>
|
|
<affected>
|
|
<package name="app-portage/eix" auto="yes" arch="*">
|
|
<unaffected range="ge">0.5.0_pre2</unaffected>
|
|
<unaffected range="rge">0.3.0-r2</unaffected>
|
|
<vulnerable range="lt">0.5.0_pre2</vulnerable>
|
|
</package>
|
|
</affected>
|
|
<background>
|
|
<p>
|
|
eix is a small utility for searching ebuilds with indexing for fast
|
|
results.
|
|
</p>
|
|
</background>
|
|
<description>
|
|
<p>
|
|
Eric Romang discovered that eix creates a temporary file with a
|
|
predictable name. eix creates a temporary file in /tmp/eix.*.sync where
|
|
* is the process ID of the shell running eix.
|
|
</p>
|
|
</description>
|
|
<impact type="normal">
|
|
<p>
|
|
A local attacker can watch the process list and determine the process
|
|
ID of the shell running eix while the "emerge --sync" command is
|
|
running, then create a link from the corresponding temporary file to a
|
|
system file, which would result in the file being overwritten with the
|
|
rights of the user running the application.
|
|
</p>
|
|
</impact>
|
|
<workaround>
|
|
<p>
|
|
There is no known workaround at this time.
|
|
</p>
|
|
</workaround>
|
|
<resolution>
|
|
<p>
|
|
All eix users should upgrade to the latest version:
|
|
</p>
|
|
<code>
|
|
# emerge --sync
|
|
# emerge --ask --oneshot --verbose app-portage/eix</code>
|
|
</resolution>
|
|
<references>
|
|
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3785">CVE-2005-3785</uri>
|
|
</references>
|
|
<metadata tag="requester" timestamp="2005-11-21T09:11:10Z">
|
|
koon
|
|
</metadata>
|
|
<metadata tag="submitter" timestamp="2005-11-21T20:48:28Z">
|
|
adir
|
|
</metadata>
|
|
<metadata tag="bugReady" timestamp="2005-11-22T08:46:22Z">
|
|
koon
|
|
</metadata>
|
|
</glsa>
|