copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2010.0459 - [RedHat] PostgreSQL: Multiple vulnerabilities

Date: 20 May 2010
References: ASB-2009.1158  ESB-2010.0410.2  ASB-2010.0126  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2010.0459
                   Moderate: postgresql security update
                                20 May 2010

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           PostgreSQL
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux AS/ES/WS 3
                   Red Hat Enterprise Linux AS/ES/WS 4
                   Red Hat Enterprise Linux Server 5
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Denial of Service               -- Existing Account
                   Increased Privileges            -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2010-1170 CVE-2010-1169 CVE-2010-0733
                   CVE-2010-0442 CVE-2009-4136 

Reference:         ASB-2010.0126
                   ASB-2009.1158
                   ESB-2010.0410.2

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2010-0427.html
   https://rhn.redhat.com/errata/RHSA-2010-0428.html
   https://rhn.redhat.com/errata/RHSA-2010-0429.html
   https://rhn.redhat.com/errata/RHSA-2010-0430.html

Comment: This bulletin contains four (4) Red Hat security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: postgresql security update
Advisory ID:       RHSA-2010:0427-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0427.html
Issue date:        2010-05-19
CVE Names:         CVE-2009-4136 CVE-2010-0442 CVE-2010-0733 
                   CVE-2010-1169 CVE-2010-1170 
=====================================================================

1. Summary:

Updated postgresql packages that fix multiple security issues are now
available for Red Hat Enterprise Linux 3.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. 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.

4. 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
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

546321 - CVE-2009-4136 postgresql: SQL privilege escalation via modifications to session-local state
546621 - CVE-2010-0733 postgresql: Integer overflow in hash table size calculation
559259 - CVE-2010-0442 postgresql: substring() negative length argument buffer overflow
582615 - CVE-2010-1169 PostgreSQL: PL/Perl Intended restriction bypass
583072 - CVE-2010-1170 PostgreSQL: PL/Tcl Intended restriction bypass

6. Package List:

Red Hat Enterprise Linux AS version 3:

Source:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/rh-postgresql-7.3.21-3.src.rpm

i386:
rh-postgresql-7.3.21-3.i386.rpm
rh-postgresql-contrib-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-devel-7.3.21-3.i386.rpm
rh-postgresql-docs-7.3.21-3.i386.rpm
rh-postgresql-jdbc-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-pl-7.3.21-3.i386.rpm
rh-postgresql-python-7.3.21-3.i386.rpm
rh-postgresql-server-7.3.21-3.i386.rpm
rh-postgresql-tcl-7.3.21-3.i386.rpm
rh-postgresql-test-7.3.21-3.i386.rpm

ia64:
rh-postgresql-7.3.21-3.ia64.rpm
rh-postgresql-contrib-7.3.21-3.ia64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.ia64.rpm
rh-postgresql-devel-7.3.21-3.ia64.rpm
rh-postgresql-docs-7.3.21-3.ia64.rpm
rh-postgresql-jdbc-7.3.21-3.ia64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.ia64.rpm
rh-postgresql-pl-7.3.21-3.ia64.rpm
rh-postgresql-python-7.3.21-3.ia64.rpm
rh-postgresql-server-7.3.21-3.ia64.rpm
rh-postgresql-tcl-7.3.21-3.ia64.rpm
rh-postgresql-test-7.3.21-3.ia64.rpm

ppc:
rh-postgresql-7.3.21-3.ppc.rpm
rh-postgresql-contrib-7.3.21-3.ppc.rpm
rh-postgresql-debuginfo-7.3.21-3.ppc.rpm
rh-postgresql-debuginfo-7.3.21-3.ppc64.rpm
rh-postgresql-devel-7.3.21-3.ppc.rpm
rh-postgresql-docs-7.3.21-3.ppc.rpm
rh-postgresql-jdbc-7.3.21-3.ppc.rpm
rh-postgresql-libs-7.3.21-3.ppc.rpm
rh-postgresql-libs-7.3.21-3.ppc64.rpm
rh-postgresql-pl-7.3.21-3.ppc.rpm
rh-postgresql-python-7.3.21-3.ppc.rpm
rh-postgresql-server-7.3.21-3.ppc.rpm
rh-postgresql-tcl-7.3.21-3.ppc.rpm
rh-postgresql-test-7.3.21-3.ppc.rpm

s390:
rh-postgresql-7.3.21-3.s390.rpm
rh-postgresql-contrib-7.3.21-3.s390.rpm
rh-postgresql-debuginfo-7.3.21-3.s390.rpm
rh-postgresql-devel-7.3.21-3.s390.rpm
rh-postgresql-docs-7.3.21-3.s390.rpm
rh-postgresql-jdbc-7.3.21-3.s390.rpm
rh-postgresql-libs-7.3.21-3.s390.rpm
rh-postgresql-pl-7.3.21-3.s390.rpm
rh-postgresql-python-7.3.21-3.s390.rpm
rh-postgresql-server-7.3.21-3.s390.rpm
rh-postgresql-tcl-7.3.21-3.s390.rpm
rh-postgresql-test-7.3.21-3.s390.rpm

s390x:
rh-postgresql-7.3.21-3.s390x.rpm
rh-postgresql-contrib-7.3.21-3.s390x.rpm
rh-postgresql-debuginfo-7.3.21-3.s390.rpm
rh-postgresql-debuginfo-7.3.21-3.s390x.rpm
rh-postgresql-devel-7.3.21-3.s390x.rpm
rh-postgresql-docs-7.3.21-3.s390x.rpm
rh-postgresql-jdbc-7.3.21-3.s390x.rpm
rh-postgresql-libs-7.3.21-3.s390.rpm
rh-postgresql-libs-7.3.21-3.s390x.rpm
rh-postgresql-pl-7.3.21-3.s390x.rpm
rh-postgresql-python-7.3.21-3.s390x.rpm
rh-postgresql-server-7.3.21-3.s390x.rpm
rh-postgresql-tcl-7.3.21-3.s390x.rpm
rh-postgresql-test-7.3.21-3.s390x.rpm

x86_64:
rh-postgresql-7.3.21-3.x86_64.rpm
rh-postgresql-contrib-7.3.21-3.x86_64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.x86_64.rpm
rh-postgresql-devel-7.3.21-3.x86_64.rpm
rh-postgresql-docs-7.3.21-3.x86_64.rpm
rh-postgresql-jdbc-7.3.21-3.x86_64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.x86_64.rpm
rh-postgresql-pl-7.3.21-3.x86_64.rpm
rh-postgresql-python-7.3.21-3.x86_64.rpm
rh-postgresql-server-7.3.21-3.x86_64.rpm
rh-postgresql-tcl-7.3.21-3.x86_64.rpm
rh-postgresql-test-7.3.21-3.x86_64.rpm

Red Hat Desktop version 3:

Source:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/rh-postgresql-7.3.21-3.src.rpm

i386:
rh-postgresql-7.3.21-3.i386.rpm
rh-postgresql-contrib-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-devel-7.3.21-3.i386.rpm
rh-postgresql-docs-7.3.21-3.i386.rpm
rh-postgresql-jdbc-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-pl-7.3.21-3.i386.rpm
rh-postgresql-python-7.3.21-3.i386.rpm
rh-postgresql-server-7.3.21-3.i386.rpm
rh-postgresql-tcl-7.3.21-3.i386.rpm
rh-postgresql-test-7.3.21-3.i386.rpm

x86_64:
rh-postgresql-7.3.21-3.x86_64.rpm
rh-postgresql-contrib-7.3.21-3.x86_64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.x86_64.rpm
rh-postgresql-devel-7.3.21-3.x86_64.rpm
rh-postgresql-docs-7.3.21-3.x86_64.rpm
rh-postgresql-jdbc-7.3.21-3.x86_64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.x86_64.rpm
rh-postgresql-pl-7.3.21-3.x86_64.rpm
rh-postgresql-python-7.3.21-3.x86_64.rpm
rh-postgresql-server-7.3.21-3.x86_64.rpm
rh-postgresql-tcl-7.3.21-3.x86_64.rpm
rh-postgresql-test-7.3.21-3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

Source:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/rh-postgresql-7.3.21-3.src.rpm

i386:
rh-postgresql-7.3.21-3.i386.rpm
rh-postgresql-contrib-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-devel-7.3.21-3.i386.rpm
rh-postgresql-docs-7.3.21-3.i386.rpm
rh-postgresql-jdbc-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-pl-7.3.21-3.i386.rpm
rh-postgresql-python-7.3.21-3.i386.rpm
rh-postgresql-server-7.3.21-3.i386.rpm
rh-postgresql-tcl-7.3.21-3.i386.rpm
rh-postgresql-test-7.3.21-3.i386.rpm

ia64:
rh-postgresql-7.3.21-3.ia64.rpm
rh-postgresql-contrib-7.3.21-3.ia64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.ia64.rpm
rh-postgresql-devel-7.3.21-3.ia64.rpm
rh-postgresql-docs-7.3.21-3.ia64.rpm
rh-postgresql-jdbc-7.3.21-3.ia64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.ia64.rpm
rh-postgresql-pl-7.3.21-3.ia64.rpm
rh-postgresql-python-7.3.21-3.ia64.rpm
rh-postgresql-server-7.3.21-3.ia64.rpm
rh-postgresql-tcl-7.3.21-3.ia64.rpm
rh-postgresql-test-7.3.21-3.ia64.rpm

x86_64:
rh-postgresql-7.3.21-3.x86_64.rpm
rh-postgresql-contrib-7.3.21-3.x86_64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.x86_64.rpm
rh-postgresql-devel-7.3.21-3.x86_64.rpm
rh-postgresql-docs-7.3.21-3.x86_64.rpm
rh-postgresql-jdbc-7.3.21-3.x86_64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.x86_64.rpm
rh-postgresql-pl-7.3.21-3.x86_64.rpm
rh-postgresql-python-7.3.21-3.x86_64.rpm
rh-postgresql-server-7.3.21-3.x86_64.rpm
rh-postgresql-tcl-7.3.21-3.x86_64.rpm
rh-postgresql-test-7.3.21-3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

Source:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/rh-postgresql-7.3.21-3.src.rpm

i386:
rh-postgresql-7.3.21-3.i386.rpm
rh-postgresql-contrib-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-devel-7.3.21-3.i386.rpm
rh-postgresql-docs-7.3.21-3.i386.rpm
rh-postgresql-jdbc-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-pl-7.3.21-3.i386.rpm
rh-postgresql-python-7.3.21-3.i386.rpm
rh-postgresql-server-7.3.21-3.i386.rpm
rh-postgresql-tcl-7.3.21-3.i386.rpm
rh-postgresql-test-7.3.21-3.i386.rpm

ia64:
rh-postgresql-7.3.21-3.ia64.rpm
rh-postgresql-contrib-7.3.21-3.ia64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.ia64.rpm
rh-postgresql-devel-7.3.21-3.ia64.rpm
rh-postgresql-docs-7.3.21-3.ia64.rpm
rh-postgresql-jdbc-7.3.21-3.ia64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.ia64.rpm
rh-postgresql-pl-7.3.21-3.ia64.rpm
rh-postgresql-python-7.3.21-3.ia64.rpm
rh-postgresql-server-7.3.21-3.ia64.rpm
rh-postgresql-tcl-7.3.21-3.ia64.rpm
rh-postgresql-test-7.3.21-3.ia64.rpm

x86_64:
rh-postgresql-7.3.21-3.x86_64.rpm
rh-postgresql-contrib-7.3.21-3.x86_64.rpm
rh-postgresql-debuginfo-7.3.21-3.i386.rpm
rh-postgresql-debuginfo-7.3.21-3.x86_64.rpm
rh-postgresql-devel-7.3.21-3.x86_64.rpm
rh-postgresql-docs-7.3.21-3.x86_64.rpm
rh-postgresql-jdbc-7.3.21-3.x86_64.rpm
rh-postgresql-libs-7.3.21-3.i386.rpm
rh-postgresql-libs-7.3.21-3.x86_64.rpm
rh-postgresql-pl-7.3.21-3.x86_64.rpm
rh-postgresql-python-7.3.21-3.x86_64.rpm
rh-postgresql-server-7.3.21-3.x86_64.rpm
rh-postgresql-tcl-7.3.21-3.x86_64.rpm
rh-postgresql-test-7.3.21-3.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-4136.html
https://www.redhat.com/security/data/cve/CVE-2010-0442.html
https://www.redhat.com/security/data/cve/CVE-2010-0733.html
https://www.redhat.com/security/data/cve/CVE-2010-1169.html
https://www.redhat.com/security/data/cve/CVE-2010-1170.html
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFL9BmSXlSAg2UNWIIRApYpAJ4pVbgOZCF3JfwnusgzotUQrSqshQCfWvH+
iueusYINpQ2fIejHu6GXFrQ=
=Ecx2
- -----END PGP SIGNATURE-----




- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: postgresql security update
Advisory ID:       RHSA-2010:0428-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0428.html
Issue date:        2010-05-19
CVE Names:         CVE-2009-4136 CVE-2010-0442 CVE-2010-0733 
                   CVE-2010-1169 CVE-2010-1170 
=====================================================================

1. Summary:

Updated postgresql packages that fix multiple security issues are now
available for Red Hat Enterprise Linux 4.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, 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

3. 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.

4. 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
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

546321 - CVE-2009-4136 postgresql: SQL privilege escalation via modifications to session-local state
546621 - CVE-2010-0733 postgresql: Integer overflow in hash table size calculation
559259 - CVE-2010-0442 postgresql: substring() negative length argument buffer overflow
582615 - CVE-2010-1169 PostgreSQL: PL/Perl Intended restriction bypass
583072 - CVE-2010-1170 PostgreSQL: PL/Tcl Intended restriction bypass

6. Package List:

Red Hat Enterprise Linux AS version 4:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/postgresql-7.4.29-1.el4_8.1.src.rpm

i386:
postgresql-7.4.29-1.el4_8.1.i386.rpm
postgresql-contrib-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-devel-7.4.29-1.el4_8.1.i386.rpm
postgresql-docs-7.4.29-1.el4_8.1.i386.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-pl-7.4.29-1.el4_8.1.i386.rpm
postgresql-python-7.4.29-1.el4_8.1.i386.rpm
postgresql-server-7.4.29-1.el4_8.1.i386.rpm
postgresql-tcl-7.4.29-1.el4_8.1.i386.rpm
postgresql-test-7.4.29-1.el4_8.1.i386.rpm

ia64:
postgresql-7.4.29-1.el4_8.1.ia64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.ia64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.ia64.rpm
postgresql-devel-7.4.29-1.el4_8.1.ia64.rpm
postgresql-docs-7.4.29-1.el4_8.1.ia64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.ia64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.ia64.rpm
postgresql-pl-7.4.29-1.el4_8.1.ia64.rpm
postgresql-python-7.4.29-1.el4_8.1.ia64.rpm
postgresql-server-7.4.29-1.el4_8.1.ia64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.ia64.rpm
postgresql-test-7.4.29-1.el4_8.1.ia64.rpm

ppc:
postgresql-7.4.29-1.el4_8.1.ppc.rpm
postgresql-contrib-7.4.29-1.el4_8.1.ppc.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.ppc.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.ppc64.rpm
postgresql-devel-7.4.29-1.el4_8.1.ppc.rpm
postgresql-docs-7.4.29-1.el4_8.1.ppc.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.ppc.rpm
postgresql-libs-7.4.29-1.el4_8.1.ppc.rpm
postgresql-libs-7.4.29-1.el4_8.1.ppc64.rpm
postgresql-pl-7.4.29-1.el4_8.1.ppc.rpm
postgresql-python-7.4.29-1.el4_8.1.ppc.rpm
postgresql-server-7.4.29-1.el4_8.1.ppc.rpm
postgresql-tcl-7.4.29-1.el4_8.1.ppc.rpm
postgresql-test-7.4.29-1.el4_8.1.ppc.rpm

s390:
postgresql-7.4.29-1.el4_8.1.s390.rpm
postgresql-contrib-7.4.29-1.el4_8.1.s390.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.s390.rpm
postgresql-devel-7.4.29-1.el4_8.1.s390.rpm
postgresql-docs-7.4.29-1.el4_8.1.s390.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.s390.rpm
postgresql-libs-7.4.29-1.el4_8.1.s390.rpm
postgresql-pl-7.4.29-1.el4_8.1.s390.rpm
postgresql-python-7.4.29-1.el4_8.1.s390.rpm
postgresql-server-7.4.29-1.el4_8.1.s390.rpm
postgresql-tcl-7.4.29-1.el4_8.1.s390.rpm
postgresql-test-7.4.29-1.el4_8.1.s390.rpm

s390x:
postgresql-7.4.29-1.el4_8.1.s390x.rpm
postgresql-contrib-7.4.29-1.el4_8.1.s390x.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.s390.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.s390x.rpm
postgresql-devel-7.4.29-1.el4_8.1.s390x.rpm
postgresql-docs-7.4.29-1.el4_8.1.s390x.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.s390x.rpm
postgresql-libs-7.4.29-1.el4_8.1.s390.rpm
postgresql-libs-7.4.29-1.el4_8.1.s390x.rpm
postgresql-pl-7.4.29-1.el4_8.1.s390x.rpm
postgresql-python-7.4.29-1.el4_8.1.s390x.rpm
postgresql-server-7.4.29-1.el4_8.1.s390x.rpm
postgresql-tcl-7.4.29-1.el4_8.1.s390x.rpm
postgresql-test-7.4.29-1.el4_8.1.s390x.rpm

x86_64:
postgresql-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-devel-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-docs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-pl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-python-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-server-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-test-7.4.29-1.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

Source:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/postgresql-7.4.29-1.el4_8.1.src.rpm

i386:
postgresql-7.4.29-1.el4_8.1.i386.rpm
postgresql-contrib-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-devel-7.4.29-1.el4_8.1.i386.rpm
postgresql-docs-7.4.29-1.el4_8.1.i386.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-pl-7.4.29-1.el4_8.1.i386.rpm
postgresql-python-7.4.29-1.el4_8.1.i386.rpm
postgresql-server-7.4.29-1.el4_8.1.i386.rpm
postgresql-tcl-7.4.29-1.el4_8.1.i386.rpm
postgresql-test-7.4.29-1.el4_8.1.i386.rpm

x86_64:
postgresql-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-devel-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-docs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-pl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-python-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-server-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-test-7.4.29-1.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/postgresql-7.4.29-1.el4_8.1.src.rpm

i386:
postgresql-7.4.29-1.el4_8.1.i386.rpm
postgresql-contrib-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-devel-7.4.29-1.el4_8.1.i386.rpm
postgresql-docs-7.4.29-1.el4_8.1.i386.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-pl-7.4.29-1.el4_8.1.i386.rpm
postgresql-python-7.4.29-1.el4_8.1.i386.rpm
postgresql-server-7.4.29-1.el4_8.1.i386.rpm
postgresql-tcl-7.4.29-1.el4_8.1.i386.rpm
postgresql-test-7.4.29-1.el4_8.1.i386.rpm

ia64:
postgresql-7.4.29-1.el4_8.1.ia64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.ia64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.ia64.rpm
postgresql-devel-7.4.29-1.el4_8.1.ia64.rpm
postgresql-docs-7.4.29-1.el4_8.1.ia64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.ia64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.ia64.rpm
postgresql-pl-7.4.29-1.el4_8.1.ia64.rpm
postgresql-python-7.4.29-1.el4_8.1.ia64.rpm
postgresql-server-7.4.29-1.el4_8.1.ia64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.ia64.rpm
postgresql-test-7.4.29-1.el4_8.1.ia64.rpm

x86_64:
postgresql-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-devel-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-docs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-pl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-python-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-server-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-test-7.4.29-1.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

Source:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/postgresql-7.4.29-1.el4_8.1.src.rpm

i386:
postgresql-7.4.29-1.el4_8.1.i386.rpm
postgresql-contrib-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-devel-7.4.29-1.el4_8.1.i386.rpm
postgresql-docs-7.4.29-1.el4_8.1.i386.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-pl-7.4.29-1.el4_8.1.i386.rpm
postgresql-python-7.4.29-1.el4_8.1.i386.rpm
postgresql-server-7.4.29-1.el4_8.1.i386.rpm
postgresql-tcl-7.4.29-1.el4_8.1.i386.rpm
postgresql-test-7.4.29-1.el4_8.1.i386.rpm

ia64:
postgresql-7.4.29-1.el4_8.1.ia64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.ia64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.ia64.rpm
postgresql-devel-7.4.29-1.el4_8.1.ia64.rpm
postgresql-docs-7.4.29-1.el4_8.1.ia64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.ia64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.ia64.rpm
postgresql-pl-7.4.29-1.el4_8.1.ia64.rpm
postgresql-python-7.4.29-1.el4_8.1.ia64.rpm
postgresql-server-7.4.29-1.el4_8.1.ia64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.ia64.rpm
postgresql-test-7.4.29-1.el4_8.1.ia64.rpm

x86_64:
postgresql-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-contrib-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.i386.rpm
postgresql-debuginfo-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-devel-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-docs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-jdbc-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-libs-7.4.29-1.el4_8.1.i386.rpm
postgresql-libs-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-pl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-python-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-server-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-tcl-7.4.29-1.el4_8.1.x86_64.rpm
postgresql-test-7.4.29-1.el4_8.1.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-4136.html
https://www.redhat.com/security/data/cve/CVE-2010-0442.html
https://www.redhat.com/security/data/cve/CVE-2010-0733.html
https://www.redhat.com/security/data/cve/CVE-2010-1169.html
https://www.redhat.com/security/data/cve/CVE-2010-1170.html
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFL9Bm/XlSAg2UNWIIRAp2SAJ0Vnye/JJIPde8oMvhKG7Evi9/uhgCdEk/o
ioksfWFitLkjGT8EgbzDxm0=
=koSS
- -----END PGP SIGNATURE-----




- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: postgresql security update
Advisory ID:       RHSA-2010:0429-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0429.html
Issue date:        2010-05-19
CVE Names:         CVE-2009-4136 CVE-2010-0442 CVE-2010-0733 
                   CVE-2010-1169 CVE-2010-1170 
=====================================================================

1. Summary:

Updated postgresql packages that fix multiple security issues are now
available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. 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 Desktop (v. 5 client) - i386, x86_64

3. 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 8.1.21. Refer to the
PostgreSQL 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 will
be automatically restarted after installing this update.

4. 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
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

546321 - CVE-2009-4136 postgresql: SQL privilege escalation via modifications to session-local state
546621 - CVE-2010-0733 postgresql: Integer overflow in hash table size calculation
559259 - CVE-2010-0442 postgresql: substring() negative length argument buffer overflow
582615 - CVE-2010-1169 PostgreSQL: PL/Perl Intended restriction bypass
583072 - CVE-2010-1170 PostgreSQL: PL/Tcl Intended restriction bypass

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/postgresql-8.1.21-1.el5_5.1.src.rpm

i386:
postgresql-8.1.21-1.el5_5.1.i386.rpm
postgresql-contrib-8.1.21-1.el5_5.1.i386.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-devel-8.1.21-1.el5_5.1.i386.rpm
postgresql-docs-8.1.21-1.el5_5.1.i386.rpm
postgresql-libs-8.1.21-1.el5_5.1.i386.rpm
postgresql-pl-8.1.21-1.el5_5.1.i386.rpm
postgresql-python-8.1.21-1.el5_5.1.i386.rpm
postgresql-server-8.1.21-1.el5_5.1.i386.rpm
postgresql-tcl-8.1.21-1.el5_5.1.i386.rpm
postgresql-test-8.1.21-1.el5_5.1.i386.rpm

x86_64:
postgresql-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-contrib-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-docs-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-libs-8.1.21-1.el5_5.1.i386.rpm
postgresql-libs-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-python-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-tcl-8.1.21-1.el5_5.1.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/postgresql-8.1.21-1.el5_5.1.src.rpm

i386:
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-devel-8.1.21-1.el5_5.1.i386.rpm
postgresql-pl-8.1.21-1.el5_5.1.i386.rpm
postgresql-server-8.1.21-1.el5_5.1.i386.rpm
postgresql-test-8.1.21-1.el5_5.1.i386.rpm

x86_64:
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-devel-8.1.21-1.el5_5.1.i386.rpm
postgresql-devel-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-pl-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-server-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-test-8.1.21-1.el5_5.1.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/postgresql-8.1.21-1.el5_5.1.src.rpm

i386:
postgresql-8.1.21-1.el5_5.1.i386.rpm
postgresql-contrib-8.1.21-1.el5_5.1.i386.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-devel-8.1.21-1.el5_5.1.i386.rpm
postgresql-docs-8.1.21-1.el5_5.1.i386.rpm
postgresql-libs-8.1.21-1.el5_5.1.i386.rpm
postgresql-pl-8.1.21-1.el5_5.1.i386.rpm
postgresql-python-8.1.21-1.el5_5.1.i386.rpm
postgresql-server-8.1.21-1.el5_5.1.i386.rpm
postgresql-tcl-8.1.21-1.el5_5.1.i386.rpm
postgresql-test-8.1.21-1.el5_5.1.i386.rpm

ia64:
postgresql-8.1.21-1.el5_5.1.ia64.rpm
postgresql-contrib-8.1.21-1.el5_5.1.ia64.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.ia64.rpm
postgresql-devel-8.1.21-1.el5_5.1.ia64.rpm
postgresql-docs-8.1.21-1.el5_5.1.ia64.rpm
postgresql-libs-8.1.21-1.el5_5.1.i386.rpm
postgresql-libs-8.1.21-1.el5_5.1.ia64.rpm
postgresql-pl-8.1.21-1.el5_5.1.ia64.rpm
postgresql-python-8.1.21-1.el5_5.1.ia64.rpm
postgresql-server-8.1.21-1.el5_5.1.ia64.rpm
postgresql-tcl-8.1.21-1.el5_5.1.ia64.rpm
postgresql-test-8.1.21-1.el5_5.1.ia64.rpm

ppc:
postgresql-8.1.21-1.el5_5.1.ppc.rpm
postgresql-8.1.21-1.el5_5.1.ppc64.rpm
postgresql-contrib-8.1.21-1.el5_5.1.ppc.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.ppc.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.ppc64.rpm
postgresql-devel-8.1.21-1.el5_5.1.ppc.rpm
postgresql-devel-8.1.21-1.el5_5.1.ppc64.rpm
postgresql-docs-8.1.21-1.el5_5.1.ppc.rpm
postgresql-libs-8.1.21-1.el5_5.1.ppc.rpm
postgresql-libs-8.1.21-1.el5_5.1.ppc64.rpm
postgresql-pl-8.1.21-1.el5_5.1.ppc.rpm
postgresql-python-8.1.21-1.el5_5.1.ppc.rpm
postgresql-server-8.1.21-1.el5_5.1.ppc.rpm
postgresql-tcl-8.1.21-1.el5_5.1.ppc.rpm
postgresql-test-8.1.21-1.el5_5.1.ppc.rpm

s390x:
postgresql-8.1.21-1.el5_5.1.s390x.rpm
postgresql-contrib-8.1.21-1.el5_5.1.s390x.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.s390.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.s390x.rpm
postgresql-devel-8.1.21-1.el5_5.1.s390.rpm
postgresql-devel-8.1.21-1.el5_5.1.s390x.rpm
postgresql-docs-8.1.21-1.el5_5.1.s390x.rpm
postgresql-libs-8.1.21-1.el5_5.1.s390.rpm
postgresql-libs-8.1.21-1.el5_5.1.s390x.rpm
postgresql-pl-8.1.21-1.el5_5.1.s390x.rpm
postgresql-python-8.1.21-1.el5_5.1.s390x.rpm
postgresql-server-8.1.21-1.el5_5.1.s390x.rpm
postgresql-tcl-8.1.21-1.el5_5.1.s390x.rpm
postgresql-test-8.1.21-1.el5_5.1.s390x.rpm

x86_64:
postgresql-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-contrib-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.i386.rpm
postgresql-debuginfo-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-devel-8.1.21-1.el5_5.1.i386.rpm
postgresql-devel-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-docs-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-libs-8.1.21-1.el5_5.1.i386.rpm
postgresql-libs-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-pl-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-python-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-server-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-tcl-8.1.21-1.el5_5.1.x86_64.rpm
postgresql-test-8.1.21-1.el5_5.1.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-4136.html
https://www.redhat.com/security/data/cve/CVE-2010-0442.html
https://www.redhat.com/security/data/cve/CVE-2010-0733.html
https://www.redhat.com/security/data/cve/CVE-2010-1169.html
https://www.redhat.com/security/data/cve/CVE-2010-1170.html
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFL9BnkXlSAg2UNWIIRApkAAKCTejGjiJwe3CTX9PvjqpdxSuuN0gCfTFt8
61yYeEGIQxyQ/szm4ksZRH4=
=AQnw
- -----END PGP SIGNATURE-----



- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: postgresql84 security update
Advisory ID:       RHSA-2010:0430-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0430.html
Issue date:        2010-05-19
CVE Names:         CVE-2010-1169 CVE-2010-1170 
=====================================================================

1. Summary:

Updated postgresql84 packages that fix two security issues are now
available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. 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 Desktop (v. 5 client) - i386, x86_64

3. 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)

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

http://www.postgresql.org/docs/8.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.

4. 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
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

582615 - CVE-2010-1169 PostgreSQL: PL/Perl Intended restriction bypass
583072 - CVE-2010-1170 PostgreSQL: PL/Tcl Intended restriction bypass

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/postgresql84-8.4.4-1.el5_5.1.src.rpm

i386:
postgresql84-8.4.4-1.el5_5.1.i386.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.i386.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.i386.rpm
postgresql84-devel-8.4.4-1.el5_5.1.i386.rpm
postgresql84-docs-8.4.4-1.el5_5.1.i386.rpm
postgresql84-libs-8.4.4-1.el5_5.1.i386.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.i386.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-python-8.4.4-1.el5_5.1.i386.rpm
postgresql84-server-8.4.4-1.el5_5.1.i386.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-test-8.4.4-1.el5_5.1.i386.rpm

x86_64:
postgresql84-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.i386.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-docs-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-libs-8.4.4-1.el5_5.1.i386.rpm
postgresql84-libs-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-python-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/postgresql84-8.4.4-1.el5_5.1.src.rpm

i386:
postgresql84-debuginfo-8.4.4-1.el5_5.1.i386.rpm
postgresql84-devel-8.4.4-1.el5_5.1.i386.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.i386.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-server-8.4.4-1.el5_5.1.i386.rpm
postgresql84-test-8.4.4-1.el5_5.1.i386.rpm

x86_64:
postgresql84-debuginfo-8.4.4-1.el5_5.1.i386.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-devel-8.4.4-1.el5_5.1.i386.rpm
postgresql84-devel-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-server-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-test-8.4.4-1.el5_5.1.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/postgresql84-8.4.4-1.el5_5.1.src.rpm

i386:
postgresql84-8.4.4-1.el5_5.1.i386.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.i386.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.i386.rpm
postgresql84-devel-8.4.4-1.el5_5.1.i386.rpm
postgresql84-docs-8.4.4-1.el5_5.1.i386.rpm
postgresql84-libs-8.4.4-1.el5_5.1.i386.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.i386.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-python-8.4.4-1.el5_5.1.i386.rpm
postgresql84-server-8.4.4-1.el5_5.1.i386.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.i386.rpm
postgresql84-test-8.4.4-1.el5_5.1.i386.rpm

ia64:
postgresql84-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-devel-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-docs-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-libs-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-python-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-server-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.ia64.rpm
postgresql84-test-8.4.4-1.el5_5.1.ia64.rpm

ppc:
postgresql84-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-8.4.4-1.el5_5.1.ppc64.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.ppc64.rpm
postgresql84-devel-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-devel-8.4.4-1.el5_5.1.ppc64.rpm
postgresql84-docs-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-libs-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-libs-8.4.4-1.el5_5.1.ppc64.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-python-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-server-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.ppc.rpm
postgresql84-test-8.4.4-1.el5_5.1.ppc.rpm

s390x:
postgresql84-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.s390.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-devel-8.4.4-1.el5_5.1.s390.rpm
postgresql84-devel-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-docs-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-libs-8.4.4-1.el5_5.1.s390.rpm
postgresql84-libs-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-python-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-server-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.s390x.rpm
postgresql84-test-8.4.4-1.el5_5.1.s390x.rpm

x86_64:
postgresql84-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-contrib-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.i386.rpm
postgresql84-debuginfo-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-devel-8.4.4-1.el5_5.1.i386.rpm
postgresql84-devel-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-docs-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-libs-8.4.4-1.el5_5.1.i386.rpm
postgresql84-libs-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-plperl-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-plpython-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-pltcl-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-python-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-server-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-tcl-8.4.4-1.el5_5.1.x86_64.rpm
postgresql84-test-8.4.4-1.el5_5.1.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-1169.html
https://www.redhat.com/security/data/cve/CVE-2010-1170.html
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFL9BoCXlSAg2UNWIIRAk2EAJsHDNO2GnkjADyfHXwKdCVVX4LAxQCfXZIQ
RXa9XxPsjuaD7YfYl9+X2iU=
=9A/T
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://www.auscert.org.au/1967

iD8DBQFL9IG5/iFOrG6YcBERAsNVAKC2dEecM2cCr1frnZmj03lghI680wCaAgGu
GTBs/x9UMlSnxnHWJVSQ3YQ=
=l3lY
-----END PGP SIGNATURE-----