summaryrefslogtreecommitdiff
blob: 921589883bebb4577501a3ec535a2a71045d3c1e (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
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200705-12">
  <title>PostgreSQL: Privilege escalation</title>
  <synopsis>
    PostgreSQL contains a vulnerability that could result in SQL privilege
    escalation.
  </synopsis>
  <product type="ebuild">postgresql</product>
  <announced>2007-05-10</announced>
  <revised count="02">2009-05-28</revised>
  <bug>175791</bug>
  <access>remote</access>
  <affected>
    <package name="dev-db/postgresql" auto="yes" arch="*">
      <unaffected range="ge">8.0.13</unaffected>
      <unaffected range="rge">7.4.17</unaffected>
      <unaffected range="rge">7.3.19</unaffected>
      <unaffected range="rge">7.3.21</unaffected>
      <unaffected range="rge">7.4.19</unaffected>
      <vulnerable range="lt">8.0.13</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PostgreSQL is an open source object-relational database management
    system.
    </p>
  </background>
  <description>
    <p>
    An error involving insecure search_path settings in the SECURITY
    DEFINER functions has been reported in PostgreSQL.
    </p>
  </description>
  <impact type="normal">
    <p>
    If allowed to call a SECURITY DEFINER function, an attacker could gain
    the SQL privileges of the owner of the called function.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All PostgreSQL users should upgrade to the latest version and fix their
    SECURITY DEFINER functions:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "dev-db/postgresql"</code>
    <p>
    In order to fix the SECURITY DEFINER functions, PostgreSQL users are
    advised to refer to the PostgreSQL documentation: <uri link="http://www.postgresql.org/docs/techdocs.77">http://www.postgresql
    .org/docs/techdocs.77</uri>
    </p>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2138">CVE-2007-2138</uri>
  </references>
  <metadata tag="requester" timestamp="2007-05-03T18:37:29Z">
    aetius
  </metadata>
  <metadata tag="submitter" timestamp="2007-05-06T22:14:19Z">
    falco
  </metadata>
  <metadata tag="bugReady" timestamp="2007-05-08T06:08:11Z">
    jaervosz
  </metadata>
</glsa>