summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-200407-01.xml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /metadata/glsa/glsa-200407-01.xml
reinit the tree, so we can have metadata
Diffstat (limited to 'metadata/glsa/glsa-200407-01.xml')
-rw-r--r--metadata/glsa/glsa-200407-01.xml67
1 files changed, 67 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-200407-01.xml b/metadata/glsa/glsa-200407-01.xml
new file mode 100644
index 000000000000..ff68388d9507
--- /dev/null
+++ b/metadata/glsa/glsa-200407-01.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
+<glsa id="200407-01">
+ <title>Esearch: Insecure temp file handling</title>
+ <synopsis>
+ The eupdatedb utility in esearch creates a file in /tmp without first
+ checking for symlinks. This makes it possible for any user to create
+ arbitrary files.
+ </synopsis>
+ <product type="ebuild">esearch</product>
+ <announced>2004-07-01</announced>
+ <revised>2006-05-22: 02</revised>
+ <bug>55424</bug>
+ <access>local</access>
+ <affected>
+ <package name="app-portage/esearch" auto="yes" arch="*">
+ <unaffected range="ge">0.6.2</unaffected>
+ <vulnerable range="le">0.6.1</vulnerable>
+ </package>
+ </affected>
+ <background>
+ <p>
+ Esearch is a replacement for the Portage command "emerge search". It
+ uses an index to speed up searching of the Portage tree.
+ </p>
+ </background>
+ <description>
+ <p>
+ The eupdatedb utility uses a temporary file (/tmp/esearchdb.py.tmp) to
+ indicate that the eupdatedb process is running. When run, eupdatedb
+ checks to see if this file exists, but it does not check to see if it
+ is a broken symlink. In the event that the file is a broken symlink,
+ the script will create the file pointed to by the symlink, instead of
+ printing an error and exiting.
+ </p>
+ </description>
+ <impact type="normal">
+ <p>
+ An attacker could create a symlink from /tmp/esearchdb.py.tmp to a
+ nonexistent file (such as /etc/nologin), and the file will be created
+ the next time esearchdb is run.
+ </p>
+ </impact>
+ <workaround>
+ <p>
+ There is no known workaround at this time. All users should upgrade to
+ the latest available version of esearch.
+ </p>
+ </workaround>
+ <resolution>
+ <p>
+ All users should upgrade to the latest available version of esearch, as
+ follows:
+ </p>
+ <code>
+ # emerge sync
+
+ # emerge -pv "&gt;=app-portage/esearch-0.6.2"
+ # emerge "&gt;=app-portage/esearch-0.6.2"</code>
+ </resolution>
+ <references>
+ <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0655">CVE-2004-0655</uri>
+ </references>
+ <metadata tag="submitter">
+ condordes
+ </metadata>
+</glsa>