First published: Tue Apr 24 2007(Updated: )
+++ This bug was initially created as a clone of <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED ERRATA - CVE-2007-2138 PostgreSQL security-definer function privilege escalation" href="show_bug.cgi?id=237680">Bug #237680</a> +++ Quoting the PostgreSQL release notes: <a href="http://www.postgresql.org/docs/8.2/static/release-8-2-4.html">http://www.postgresql.org/docs/8.2/static/release-8-2-4.html</a> 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 (<a href="https://access.redhat.com/security/cve/CVE-2007-2138">CVE-2007-2138</a>). See CREATE FUNCTION for more information. This flaw also affects FC5 and FC7
Affected Software | Affected Version | How to fix |
---|---|---|
PostgreSQL JDBC Driver | >=8.2.4 | |
PostgreSQL JDBC Driver | <=8.2.x | |
PostgreSQL | ||
PostgreSQL FC7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-237682 is high due to the potential for privilege escalation.
To fix REDHAT-BUG-237682, upgrade PostgreSQL to version 8.2.5 or later.
PostgreSQL versions from 8.2.4 to 8.2.x are affected by REDHAT-BUG-237682.
REDHAT-BUG-237682 is a privilege escalation vulnerability related to security-definer functions in PostgreSQL.
The recommended workaround for REDHAT-BUG-237682 is to limit the use of security-definer functions until the upgrade can be performed.