Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200705-12 ] PostgreSQL: Privilege escalation
Date: Thu, 10 May 2007 19:08:31
Message-Id: 200705102041.57454.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200705-12
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: PostgreSQL: Privilege escalation
9 Date: May 10, 2007
10 Bugs: #175791
11 ID: 200705-12
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 PostgreSQL contains a vulnerability that could result in SQL privilege
19 escalation.
20
21 Background
22 ==========
23
24 PostgreSQL is an open source object-relational database management
25 system.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 dev-db/postgresql < 8.0.13 >= 8.0.13
34 *>= 7.4.17
35 *>= 7.3.19
36
37 Description
38 ===========
39
40 An error involving insecure search_path settings in the SECURITY
41 DEFINER functions has been reported in PostgreSQL.
42
43 Impact
44 ======
45
46 If allowed to call a SECURITY DEFINER function, an attacker could gain
47 the SQL privileges of the owner of the called function.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All PostgreSQL users should upgrade to the latest version and fix their
58 SECURITY DEFINER functions:
59
60 # emerge --sync
61 # emerge --ask --oneshot --verbose "dev-db/postgresql"
62
63 In order to fix the SECURITY DEFINER functions, PostgreSQL users are
64 advised to refer to the PostgreSQL documentation:
65 http://www.postgresql.org/docs/techdocs.77
66
67 References
68 ==========
69
70 [ 1 ] CVE-2007-2138
71 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2138
72
73 Availability
74 ============
75
76 This GLSA and any updates to it are available for viewing at
77 the Gentoo Security Website:
78
79 http://security.gentoo.org/glsa/glsa-200705-12.xml
80
81 Concerns?
82 =========
83
84 Security is a primary focus of Gentoo Linux and ensuring the
85 confidentiality and security of our users machines is of utmost
86 importance to us. Any security concerns should be addressed to
87 security@g.o or alternatively, you may file a bug at
88 http://bugs.gentoo.org.
89
90 License
91 =======
92
93 Copyright 2007 Gentoo Foundation, Inc; referenced text
94 belongs to its owner(s).
95
96 The contents of this document are licensed under the
97 Creative Commons - Attribution / Share Alike license.
98
99 http://creativecommons.org/licenses/by-sa/2.5