Gentoo: GLSA-200705-12: PostgreSQL: Privilege escalation
Summary
Gentoo Linux Security Advisory GLSA 200705-12
https://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
==========
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:
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:
https://security.gentoo.org/glsa/200705-12
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
https://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.
https://creativecommons.org/licenses/by-sa/2.5/
Resolution
References
Availability
Concerns
![Dist Gentoo](/images/distros/dist-gentoo.png)