Oval Definition:oval:com.redhat.rhsa:def:20100427
Revision Date:2010-05-19Version:641
Title:RHSA-2010:0427: 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)

    All PostgreSQL users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. Running PostgreSQL instances must be restarted ("service rhdb restart") for this update to take effect.
  • Family:unixClass:patch
    Status:Reference(s):CVE-2009-4136
    CVE-2010-0442
    CVE-2010-0733
    CVE-2010-1169
    CVE-2010-1170
    RHSA-2010:0427
    RHSA-2010:0427-01
    RHSA-2010:0427-01
    Platform(s):Red Hat Enterprise Linux 3
    Product(s):
    Definition Synopsis
  • Red Hat Enterprise Linux must be installed
  • OR Package Information
  • Red Hat Enterprise Linux 3 is installed
  • AND
  • rh-postgresql-pl is earlier than 0:7.3.21-3
  • AND rh-postgresql-pl is signed with Red Hat master key
  • rh-postgresql-tcl is earlier than 0:7.3.21-3
  • AND rh-postgresql-tcl is signed with Red Hat master key
  • rh-postgresql-server is earlier than 0:7.3.21-3
  • AND rh-postgresql-server is signed with Red Hat master key
  • rh-postgresql-test is earlier than 0:7.3.21-3
  • AND rh-postgresql-test is signed with Red Hat master key
  • rh-postgresql-docs is earlier than 0:7.3.21-3
  • AND rh-postgresql-docs is signed with Red Hat master key
  • rh-postgresql-contrib is earlier than 0:7.3.21-3
  • AND rh-postgresql-contrib is signed with Red Hat master key
  • rh-postgresql-python is earlier than 0:7.3.21-3
  • AND rh-postgresql-python is signed with Red Hat master key
  • rh-postgresql-devel is earlier than 0:7.3.21-3
  • AND rh-postgresql-devel is signed with Red Hat master key
  • rh-postgresql is earlier than 0:7.3.21-3
  • AND rh-postgresql is signed with Red Hat master key
  • rh-postgresql-libs is earlier than 0:7.3.21-3
  • AND rh-postgresql-libs is signed with Red Hat master key
  • rh-postgresql-jdbc is earlier than 0:7.3.21-3
  • AND rh-postgresql-jdbc is signed with Red Hat master key
  • BACK