summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-03-08 22:02:38 +0100
committerAlex Legler <alex@a3li.li>2015-03-08 22:02:38 +0100
commita24567fbc43f221b14e805f9bc0b7c6d16911c46 (patch)
tree910a04fe6ee560ac0eebac55f3cd2781c3519760 /glsa-200411-13.xml
downloadglsa-a24567fbc43f221b14e805f9bc0b7c6d16911c46.zip
glsa-a24567fbc43f221b14e805f9bc0b7c6d16911c46.tar.gz
glsa-a24567fbc43f221b14e805f9bc0b7c6d16911c46.tar.bz2
Import existing advisories
Diffstat (limited to 'glsa-200411-13.xml')
-rw-r--r--glsa-200411-13.xml85
1 files changed, 85 insertions, 0 deletions
diff --git a/glsa-200411-13.xml b/glsa-200411-13.xml
new file mode 100644
index 0000000..1b699e0
--- /dev/null
+++ b/glsa-200411-13.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
+<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
+<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
+
+<glsa id="200411-13">
+ <title>Portage, Gentoolkit: Temporary file vulnerabilities</title>
+ <synopsis>
+ 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.
+ </synopsis>
+ <product type="ebuild">portage gentoolkit</product>
+ <announced>November 07, 2004</announced>
+ <revised>May 22, 2006: 02</revised>
+ <bug>68846</bug>
+ <bug>69147</bug>
+ <access>local</access>
+ <affected>
+ <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>
+ <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>
+ </package>
+ </affected>
+ <background>
+ <p>
+ 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.
+ </p>
+ </background>
+ <description>
+ <p>
+ dispatch-conf and qpkg use predictable filenames for temporary files.
+ </p>
+ </description>
+ <impact type="normal">
+ <p>
+ 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.
+ </p>
+ </impact>
+ <workaround>
+ <p>
+ There is no known workaround at this time.
+ </p>
+ </workaround>
+ <resolution>
+ <p>
+ All Portage users should upgrade to the latest version:
+ </p>
+ <code>
+ # emerge --sync
+ # emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/portage-2.0.51-r3&quot;</code>
+ <p>
+ All Gentoolkit users should upgrade to the latest version:
+ </p>
+ <code>
+ # emerge --sync
+ # emerge --ask --oneshot --verbose &quot;&gt;=app-portage/gentoolkit-0.2.0_pre8-r1&quot;</code>
+ </resolution>
+ <references>
+ <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1107">CVE-2004-1107</uri>
+ <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1108">CVE-2004-1108</uri>
+ </references>
+ <metadata tag="requester" timestamp="Tue, 2 Nov 2004 14:02:06 +0000">
+ koon
+ </metadata>
+ <metadata tag="submitter" timestamp="Tue, 2 Nov 2004 17:41:31 +0000">
+ jaervosz
+ </metadata>
+ <metadata tag="bugReady" timestamp="Sun, 7 Nov 2004 11:16:08 +0000">
+ jaervosz
+ </metadata>
+</glsa>