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 200607-04 ] PostgreSQL: SQL injection
Date: Sun, 09 Jul 2006 17:17:16
Message-Id: 200607091853.40589.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200607-04
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: PostgreSQL: SQL injection
9 Date: July 09, 2006
10 Bugs: #134168
11 ID: 200607-04
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A flaw in the multibyte character handling allows execution of
19 arbitrary SQL statements.
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.8 >= 8.0.8
34 *>= 7.4.13
35
36 Description
37 ===========
38
39 PostgreSQL contains a flaw in the string parsing routines that allows
40 certain backslash-escaped characters to be bypassed with some multibyte
41 character encodings. This vulnerability was discovered by Akio Ishida
42 and Yasuo Ohgaki.
43
44 Impact
45 ======
46
47 An attacker could execute arbitrary SQL statements on the PostgreSQL
48 server. Be aware that web applications using PostgreSQL as a database
49 back-end might be used to exploit this vulnerability.
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 All PostgreSQL users should upgrade to the latest version in the
60 respective branch they are using:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose dev-db/postgresql
64
65 Note: While a fix exists for the 7.3 branch it doesn't currently work
66 on Gentoo. All 7.3.x users of PostgreSQL should consider updating their
67 installations to the 7.4 (or higher) branch as soon as possible!
68
69 References
70 ==========
71
72 [ 1 ] PostgreSQL technical information
73 http://www.postgresql.org/docs/techdocs.50
74 [ 2 ] CVE-2006-2313
75 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2313
76 [ 3 ] CVE-2006-2314
77 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2314
78
79 Availability
80 ============
81
82 This GLSA and any updates to it are available for viewing at
83 the Gentoo Security Website:
84
85 http://security.gentoo.org/glsa/glsa-200607-04.xml
86
87 Concerns?
88 =========
89
90 Security is a primary focus of Gentoo Linux and ensuring the
91 confidentiality and security of our users machines is of utmost
92 importance to us. Any security concerns should be addressed to
93 security@g.o or alternatively, you may file a bug at
94 http://bugs.gentoo.org.
95
96 License
97 =======
98
99 Copyright 2006 Gentoo Foundation, Inc; referenced text
100 belongs to its owner(s).
101
102 The contents of this document are licensed under the
103 Creative Commons - Attribution / Share Alike license.
104
105 http://creativecommons.org/licenses/by-sa/2.5