Bug 237681 - CVE-2007-2138 PostgreSQL security-definer function privilege escalation
Summary: CVE-2007-2138 PostgreSQL security-definer function privilege escalation
Alias: None
Product: Red Hat Web Application Stack
Classification: Retired
Component: postgresql   
(Show other bugs)
Version: v1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tom Lane
QA Contact: Gurhan Ozen
Whiteboard: impact=moderate,public=20070423,repor...
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-24 18:42 UTC by Josh Bressers
Modified: 2013-11-04 01:32 UTC (History)
2 users (show)

Fixed In Version: RHSA-2007-0337
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-03 12:35:07 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0337 normal SHIPPED_LIVE Moderate: postgresql security update 2007-05-03 12:35:04 UTC

Description Josh Bressers 2007-04-24 18:42:40 UTC
+++ This bug was initially created as a clone of Bug #237680 +++

Quoting the PostgreSQL release notes:

    Support explicit placement of the temporary-table schema within search_path, 
    and disable searching it for functions and operators (Tom)

    This is needed to allow a security-definer function to set a truly secure 
    value of search_path. Without it, an unprivileged SQL user can use temporary 
    objects to execute code with the privileges of the security-definer function 
    (CVE-2007-2138). See CREATE FUNCTION for more information.

Comment 6 Red Hat Bugzilla 2007-05-03 12:35:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.