Oval Definition:oval:com.redhat.rhsa:def:20100428
Revision Date:2010-05-19Version:647
Title:RHSA-2010:0428: postgresql security update (Moderate)
Description: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, and are installed in trusted mode by default. In trusted mode, certain operations, such as operating system level access, are restricted.

  • A flaw was found in the way PostgreSQL enforced permission checks on scripts written in PL/Perl. If the PL/Perl procedural language was registered on a particular database, an authenticated database user running a specially-crafted PL/Perl script could use this flaw to bypass intended PL/Perl trusted mode restrictions, allowing them to run arbitrary Perl scripts with the privileges of the database server. (CVE-2010-1169)

    Red Hat would like to thank Tim Bunce for responsibly reporting the CVE-2010-1169 flaw.

  • A flaw was found in the way PostgreSQL enforced permission checks on scripts written in PL/Tcl. If the PL/Tcl procedural language was registered on a particular database, an authenticated database user running a specially-crafted PL/Tcl script could use this flaw to bypass intended PL/Tcl trusted mode restrictions, allowing them to run arbitrary Tcl scripts with the privileges of the database server. (CVE-2010-1170)

  • A buffer overflow flaw was found in the way PostgreSQL retrieved a substring from the bit string for BIT() and BIT VARYING() SQL data types. An authenticated database user running a specially-crafted SQL query could use this flaw to cause a temporary denial of service (postgres daemon crash) or, potentially, execute arbitrary code with the privileges of the database server. (CVE-2010-0442)

  • An integer overflow flaw was found in the way PostgreSQL used to calculate the size of the hash table for joined relations. An authenticated database user could create a specially-crafted SQL query which could cause a temporary 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 of an index function by a database superuser during the database maintenance operations. An authenticated database user could use this flaw to elevate their privileges via specially-crafted index functions. (CVE-2009-4136)

    These packages upgrade PostgreSQL to version 7.4.29. Refer to the PostgreSQL Release Notes for a list of changes:

    http://www.postgresql.org/docs/7.4/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 will be automatically restarted after installing this update.
  • Family:unixClass:patch
    Status:Reference(s):CVE-2009-4136
    CVE-2010-0442
    CVE-2010-0733
    CVE-2010-1169
    CVE-2010-1170
    CVE-2010-1975
    RHSA-2010:0428
    RHSA-2010:0428-01
    RHSA-2010:0428-01
    Platform(s):Red Hat Enterprise Linux 4
    Product(s):
    Definition Synopsis
  • Red Hat Enterprise Linux must be installed
  • OR Package Information
  • Red Hat Enterprise Linux 4 is installed
  • AND
  • postgresql is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql is signed with Red Hat redhatrelease2 key
  • postgresql-contrib is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-contrib is signed with Red Hat redhatrelease2 key
  • postgresql-devel is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-devel is signed with Red Hat redhatrelease2 key
  • postgresql-docs is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-docs is signed with Red Hat redhatrelease2 key
  • postgresql-jdbc is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-jdbc is signed with Red Hat redhatrelease2 key
  • postgresql-libs is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-libs is signed with Red Hat redhatrelease2 key
  • postgresql-pl is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-pl is signed with Red Hat redhatrelease2 key
  • postgresql-python is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-python is signed with Red Hat redhatrelease2 key
  • postgresql-server is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-server is signed with Red Hat redhatrelease2 key
  • postgresql-tcl is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-tcl is signed with Red Hat redhatrelease2 key
  • postgresql-test is earlier than 0:7.4.29-1.el4_8.1
  • AND postgresql-test is signed with Red Hat redhatrelease2 key
  • BACK