blob: de5fbd81ac9ba2bb118e8c18c419f5363dcfda73 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200412-05">
<title>mirrorselect: Insecure temporary file creation</title>
mirrorselect is vulnerable to symlink attacks, potentially allowing a local
user to overwrite arbitrary files.
<product type="ebuild">mirrorselect</product>
<announced>December 07, 2004</announced>
<revised>May 22, 2006: 04</revised>
<package name="app-portage/mirrorselect" auto="yes" arch="*">
<unaffected range="ge">0.89</unaffected>
<vulnerable range="lt">0.89</vulnerable>
mirrorselect is a tool to help select distfiles mirrors for Gentoo.
Ervin Nemeth discovered that mirrorselect creates temporary files in
world-writable directories with predictable names.
<impact type="normal">
A local attacker could create symbolic links in the temporary files
directory, pointing to a valid file somewhere on the filesystem. When
mirrorselect is executed, this would result in the file being
overwritten with the rights of the user running the utility, which
could be the root user.
There is no known workaround at this time.
All mirrorselect users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-portage/mirrorselect-0.89&quot;</code>
<uri link="">CVE-2004-1167</uri>
<metadata tag="submitter" timestamp="Mon, 6 Dec 2004 21:43:32 +0000">
<metadata tag="bugReady" timestamp="Mon, 6 Dec 2004 21:51:32 +0000">