summaryrefslogtreecommitdiff
blob: 6354dd45a804045fb1a0415941d0328f261e342e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?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>2006-05-22: 02</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>