Bug 237823

Summary: CVE-2007-2138 SECURITY DEFINER related privilege escalation in PostgreSQL
Product: Red Hat Enterprise Linux 5 Reporter: Lubomir Kundrak <lkundrak>
Component: postgresqlAssignee: Tom Lane <tgl>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: hhorak
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.postgresql.org/docs/current/static/release-8-2-4.html
Whiteboard: impact=moderate,source=gentoo,reported=20070424,public=20070423
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-25 15:31:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubomir Kundrak 2007-04-25 15:21:59 UTC
Description of problem:

PostgreSQL released a security update that reportedly fixes a bug, that
allowed unprivileged users execute code with privilegies of SECURITY
DEFINER functions.

See URL for details.

Comment 1 Lubomir Kundrak 2007-04-25 15:30:13 UTC
Tom, as PostgreSQL is far beyond the scope of my understanding, could you
please help me determine the following:

1.) whether the flaw affects the 7.1 line, as used in RHEL2.1? I assume it
affects other supported releases, as update was released for the respective
version lines?

2.) how serious the bug is. Is this similar to #156726, where an authenticated
users user could gain superuser rights? Or is it less likely to be exploited?
I have no idea what a SECURITY DEFINER is, and in with what privileges are
those functions executed.

Thanks

Comment 2 Lubomir Kundrak 2007-04-25 15:31:48 UTC

*** This bug has been marked as a duplicate of 237680 ***