Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Red Hat Enterprise Linux: RHSA-2010:0742-01 Moderate PostgreSQL Escalation

red hat
Calendar Grey October 6, 2010
Dist Redhat Esm H88
Advisory notice issued by Red Hat regarding a significant PostgreSQL vulnerability, highlighting risks associated with unauthorized access elevation. Immediate upgrade advised.
Updated postgresql and postgresql84 packages that fix one security issue are now available for Red Hat Enterprise Linux 4 and 5

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at

Summary

PostgreSQL is an advanced object-relational database management system (DBMS). PL/Perl and PL/Tcl allow users to write PostgreSQL functions in the Perl and Tcl languages. The PostgreSQL SECURITY DEFINER parameter, which can be used when creating a new PostgreSQL function, specifies that the function will be executed with the privileges of the user that created it.
It was discovered that a user could utilize the features of the PL/Perl and PL/Tcl languages to modify the behavior of a SECURITY DEFINER function created by a different user. If the PL/Perl or PL/Tcl language was used to implement a SECURITY DEFINER function, an authenticated database user could use a PL/Perl or PL/Tcl script to modify the behavior of that function during subsequent calls in the same session. This would result in the modified or injected code also being executed with the privileges of the user who created the SECURITY DEFINER function, possibly leading to privilege escalation. (CVE-2010-3433)
For Red Hat Enterprise Linux 4, the updated postgresql packages upgrade PostgreSQL to version 7.4.30. Refer to the PostgreSQL Release Notes for a list of changes:
https://www.postgresql.org/docs/7.4/release.html
For Red Hat Enterprise Linux 5, the updated postgresql packages upgrade PostgreSQL to version 8.1.22, and the updated postgresql84 packages upgrade PostgreSQL to version 8.4.5. Refer to the PostgreSQL Release Notes for a list of changes:
https://www.postgresql.org/docs/8.1/release.html https://www.postgresql.org/docs/8.4/release.html
All PostgreSQL users are advised to upgrade to these updated packages, which correct this issue. If the postgresql service is running, it will be automatically restarted after installing this update.

References

https://access.redhat.com/security/cve/CVE-2010-3433 https://access.redhat.com/security/updates/classification#moderate https://www.postgresql.org/docs/8.1/sql-createfunction.html

Package List

Red Hat Enterprise Linux AS version 4:
Source:
i386: postgresql-7.4.30-1.el4_8.1.i386.rpm postgresql-contrib-7.4.30-1.el4_8.1.i386.rpm postgresql-debuginfo-7.4.30-1.el4_8.1.i386.rpm postgresql-devel-7.4.30-1.el4_8.1.i386.rpm postgresql-docs-7.4.30-1.el4_8.1.i386.rpm postgresql-jdbc-7.4.30-1.el4_8.1.i386.rpm postgresql-libs-7.4.30-1.el4_8.1.i386.rpm postgresql-pl-7.4.30-1.el4_8.1.i386.rpm postgresql-python-7.4.30-1.el4_8.1.i386.rpm postgresql-server-7.4.30-1.el4_8.1.i386.rpm postgresql-tcl-7.4.30-1.el4_8.1.i386.rpm postgresql-test-7.4.30-1.el4_8.1.i386.rpm
ia64: postgresql-7.4.30-1.el4_8.1.ia64.rpm postgresql-contrib-7.4.30-1.el4_8.1.ia64.rpm postgresql-debuginfo-7.4.30-1.el4_8.1.i386.rpm postgresql-debuginfo-7.4.30-1.el4_8.1.ia64.rpm postgresql-devel-7.4.30-1.el4_8.1.ia64.rpm postgresql-docs-7.4.30-1.el4_8.1.ia64.rpm postgresql-jdbc-7.4.30-1.el4_8.1.ia64.rpm postgresql-libs-7.4.30-1.el4_8.1.i386.rpm postgresql-libs-7.4.30-1.el4_8.1.ia64.rpm postgresql-pl-7.4.30-1.el4_8.1.ia64.rpm postgresql-python-7.4.30-1.el4_8.1.ia64.rpm postgresql-server-7.4.30-1.el4_8.1.ia64.rpm postgresql-tcl-7.4.30-1.el4_8.1.ia64.rpm postgresql-test-7.4.30-1.el4_8.1.ia64.rpm
ppc: postgresql-7.4.30-1.el4_8.1.ppc.rpm postgresql-contrib-7.4.30-1.el4_8.1.ppc.rpm

Read the Full Advisory


Advisory ID: RHSA-2010:0742-01
Product: Red Hat Enterprise Linux
Issue date: 2010-10-06

Topic

Updated postgresql and postgresql84 packages that fix one security issueare now available for Red Hat Enterprise Linux 4 and 5.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available from the CVE link inthe References section.

Relevant Releases Architectures

RHEL Desktop Workstation (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux Desktop version 4 - i386, x86_64

Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

Bugs Fixed

639371 - CVE-2010-3433 PostgreSQL (PL/Perl, PL/Tcl): SECURITY DEFINER function keyword bypass

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here