blob: 45d38c7f7a7f78d2f47dcf1d4eada4893dace59e [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200411-13">
<title>Portage, Gentoolkit: Temporary file vulnerabilities</title>
dispatch-conf (included in Portage) and qpkg (included in Gentoolkit) are
vulnerable to symlink attacks, potentially allowing a local user to
overwrite arbitrary files with the rights of the user running the script.
<product type="ebuild">portage gentoolkit</product>
<announced>November 07, 2004</announced>
<revised>May 22, 2006: 02</revised>
<package name="sys-apps/portage" auto="yes" arch="*">
<unaffected range="ge">2.0.51-r3</unaffected>
<vulnerable range="le">2.0.51-r2</vulnerable>
<package name="app-portage/gentoolkit" auto="yes" arch="*">
<unaffected range="ge">0.2.0_pre10-r1</unaffected>
<unaffected range="rge">0.2.0_pre8-r1</unaffected>
<vulnerable range="le">0.2.0_pre10</vulnerable>
Portage is Gentoo's package management tool. The dispatch-conf utility
allows for easy rollback of configuration file changes and automatic
updates of configurations files never modified by users. Gentoolkit is
a collection of Gentoo specific administration scripts, one of which is
the portage querying tool qpkg.
dispatch-conf and qpkg use predictable filenames for temporary files.
<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
an affected script is called, this would result in the file to be
overwritten with the rights of the user running the dispatch-conf or
qpkg, which could be the root user.
There is no known workaround at this time.
All Portage users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/portage-2.0.51-r3&quot;</code>
All Gentoolkit users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-portage/gentoolkit-0.2.0_pre8-r1&quot;</code>
<uri link="">CVE-2004-1107</uri>
<uri link="">CVE-2004-1108</uri>
<metadata tag="requester" timestamp="Tue, 2 Nov 2004 14:02:06 +0000">
<metadata tag="submitter" timestamp="Tue, 2 Nov 2004 17:41:31 +0000">
<metadata tag="bugReady" timestamp="Sun, 7 Nov 2004 11:16:08 +0000">