RHSA-2010:0429: Moderate: postgresql security update

Published May 19, 2010
·
Updated

PostgreSQL is an advanced object-relational database management system(DBMS). PL/Perl and PL/Tcl allow users to write PostgreSQL functions in thePerl and Tcl languages, and are installed in trusted mode by default. Intrusted mode, certain operations, such as operating system level access,are restricted.A flaw was found in the way PostgreSQL enforced permission checks onscripts written in PL/Perl. If the PL/Perl procedural language wasregistered on a particular database, an authenticated database user runninga specially-crafted PL/Perl script could use this flaw to bypass intendedPL/Perl trusted mode restrictions, allowing them to run arbitrary Perlscripts with the privileges of the database server. (CVE-2010-1169)Red Hat would like to thank Tim Bunce for responsibly reporting theCVE-2010-1169 flaw.A flaw was found in the way PostgreSQL enforced permission checks onscripts written in PL/Tcl. If the PL/Tcl procedural language was registeredon a particular database, an authenticated database user running aspecially-crafted PL/Tcl script could use this flaw to bypass intendedPL/Tcl trusted mode restrictions, allowing them to run arbitrary Tclscripts with the privileges of the database server. (CVE-2010-1170)A buffer overflow flaw was found in the way PostgreSQL retrieved asubstring from the bit string for BIT() and BIT VARYING() SQL data types.An authenticated database user running a specially-crafted SQL query coulduse this flaw to cause a temporary denial of service (postgres daemoncrash) or, potentially, execute arbitrary code with the privileges of thedatabase server. (CVE-2010-0442)An integer overflow flaw was found in the way PostgreSQL used to calculatethe size of the hash table for joined relations. An authenticated databaseuser could create a specially-crafted SQL query which could cause atemporary denial of service (postgres daemon crash) or, potentially,execute arbitrary code with the privileges of the database server.(CVE-2010-0733)PostgreSQL improperly protected session-local state during the execution ofan index function by a database superuser during the database maintenanceoperations. An authenticated database user could use this flaw to elevatetheir privileges via specially-crafted index functions. (CVE-2009-4136)These packages upgrade PostgreSQL to version 8.1.21. Refer to thePostgreSQL Release Notes for a list of changes:http://www.postgresql.org/docs/8.1/static/release.html All PostgreSQL users are advised to upgrade to these updated packages,which correct these issues. If the postgresql service is running, it willbe automatically restarted after installing this update.

Affected Software

20 affected componentsFixes available
redhat/postgresql<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-contrib<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-devel<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-devel<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-docs<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-libs<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-libs<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-pl<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-python<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-server<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-tcl<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-test<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-contrib<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-docs<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-pl<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-python<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-server<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-tcl<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1
redhat/postgresql-test<8.1.21-1.el5_5.1
8.1.21-1.el5_5.1

Remediation

Event History

May 19, 2010
Advisory Published
via Red Hat·12:00 AM

Frequently Asked Questions

1

What is the severity of RHSA-2010:0429?

The severity of RHSA-2010:0429 is considered moderate due to the potential for unauthorized access when using trusted PL/Perl and PL/Tcl functions.

2

How do I fix RHSA-2010:0429?

To fix RHSA-2010:0429, update to the specified version 8.1.21-1.el5_5.1 or later for all affected PostgreSQL packages.

3

What software is affected by RHSA-2010:0429?

RHSA-2010:0429 affects multiple PostgreSQL components including postgresql, postgresql-contrib, postgresql-devel, and others.

4

What vulnerabilities does RHSA-2010:0429 address?

RHSA-2010:0429 addresses vulnerabilities related to unsafe operations being performed in trusted PL/Perl and PL/Tcl.

5

Is RHSA-2010:0429 applicable to all PostgreSQL versions?

No, RHSA-2010:0429 specifically applies to PostgreSQL version 8.1 and its related packages prior to 8.1.21-1.el5_5.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203