GLSA 200705-12: PostgreSQL: Privilege escalation

Severity:normal
Title:PostgreSQL: Privilege escalation
Date:05/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 Architecture(s)
dev-db/postgresql < 8.0.13 >= 8.0.13 All supported architectures

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

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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!