Gentoo Linux Security Advisory GLSA 200705-12 - An error involving insecure search_path settings in the SECURITY DEFINER functions has been reported in PostgreSQL. Versions less than 8.0.13 are affected.
34d2224268a137d54c76ded99e6d07e4106235b06f0ffb7104ba62c314f4fab4
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200705-12
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: PostgreSQL: Privilege escalation
Date: May 10, 2007
Bugs: #175791
ID: 200705-12
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
PostgreSQL contains a vulnerability that could result in SQL privilege
escalation.
Background
==========
PostgreSQL is an open source object-relational database management
system.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-db/postgresql < 8.0.13 >= 8.0.13
*>= 7.4.17
*>= 7.3.19
Description
===========
An error involving insecure search_path settings in the SECURITY
DEFINER functions has been reported in PostgreSQL.
Impact
======
If allowed to call a SECURITY DEFINER function, an attacker could gain
the SQL privileges of the owner of the called function.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All PostgreSQL users should upgrade to the latest version and fix their
SECURITY DEFINER functions:
# emerge --sync
# emerge --ask --oneshot --verbose "dev-db/postgresql"
In order to fix the SECURITY DEFINER functions, PostgreSQL users are
advised to refer to the PostgreSQL documentation:
http://www.postgresql.org/docs/techdocs.77
References
==========
[ 1 ] CVE-2007-2138
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2138
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200705-12.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5