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

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

                               ESB-2015.1086
             Moderate: postgresql92-postgresql security update
                               21 April 2015

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

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

Product:           postgresql92-postgresql
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Access Privileged Data          -- Existing Account
                   Denial of Service               -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-0244 CVE-2015-0243 CVE-2015-0241
                   CVE-2014-8161  

Reference:         ASB-2015.0016
                   ESB-2015.0798
                   ESB-2015.0665
                   ESB-2015.0302

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2015-0856.html

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

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

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

Synopsis:          Moderate: postgresql92-postgresql security update
Advisory ID:       RHSA-2015:0856-01
Product:           Red Hat Satellite
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2015-0856.html
Issue date:        2015-04-20
CVE Names:         CVE-2014-8161 CVE-2015-0241 CVE-2015-0243 
                   CVE-2015-0244 
=====================================================================

1. Summary:

Updated postgresql packages that fix multiple security issues are now
available for Red Hat Satellite 5.7.

Red Hat Product Security 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 Satellite 5.7 (RHEL v.6) - s390x, x86_64
Red Hat Satellite Managed DB 5.7 (RHEL v.6) - s390x, x86_64

3. Description:

PostgreSQL is an advanced object-relational database management system
(DBMS).

An information leak flaw was found in the way the PostgreSQL database
server handled certain error messages. An authenticated database user could
possibly obtain the results of a query they did not have privileges to
execute by observing the constraint violation error messages produced when
the query was executed. (CVE-2014-8161)

A buffer overflow flaw was found in the way PostgreSQL handled certain
numeric formatting. An authenticated database user could use a specially
crafted timestamp formatting template to cause PostgreSQL to crash or,
under certain conditions, execute arbitrary code with the permissions of
the user running PostgreSQL. (CVE-2015-0241)

A stack-buffer overflow flaw was found in PostgreSQL's pgcrypto module.
An authenticated database user could use this flaw to cause PostgreSQL to
crash or, potentially, execute arbitrary code with the permissions of the
user running PostgreSQL. (CVE-2015-0243)

A flaw was found in the way PostgreSQL handled certain errors that were
generated during protocol synchronization. An authenticated database user
could use this flaw to inject queries into an existing connection.
(CVE-2015-0244)

Red Hat would like to thank the PostgreSQL project for reporting these
issues. Upstream acknowledges Stephen Frost as the original reporter of
CVE-2014-8161; Andres Freund, Peter Geoghegan, Bernd Helmle, and Noah Misch
as the original reporters of CVE-2015-0241; Marko Tiikkaja as the original
reporter of CVE-2015-0243; and Emil Lenngren as the original reporter of
CVE-2015-0244.

All PostgreSQL users are advised to upgrade to these updated packages,
which contain backported patches to 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.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

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

1182043 - CVE-2014-8161 postgresql: information leak through constraint violation errors
1188684 - CVE-2015-0241 postgresql: buffer overflow in the to_char() function
1188689 - CVE-2015-0243 postgresql: buffer overflow flaws in contrib/pgcrypto
1188694 - CVE-2015-0244 postgresql: loss of frontend/backend protocol synchronization after an error

6. Package List:

Red Hat Satellite Managed DB 5.7 (RHEL v.6):

Source:
postgresql92-postgresql-9.2.10-2.el6.src.rpm

s390x:
postgresql92-postgresql-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-contrib-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-debuginfo-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-libs-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-pltcl-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-server-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-upgrade-9.2.10-2.el6.s390x.rpm

x86_64:
postgresql92-postgresql-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-contrib-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-debuginfo-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-libs-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-pltcl-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-server-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-upgrade-9.2.10-2.el6.x86_64.rpm

Red Hat Satellite 5.7 (RHEL v.6):

Source:
postgresql92-postgresql-9.2.10-2.el6.src.rpm

s390x:
postgresql92-postgresql-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-contrib-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-debuginfo-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-libs-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-pltcl-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-server-9.2.10-2.el6.s390x.rpm
postgresql92-postgresql-upgrade-9.2.10-2.el6.s390x.rpm

x86_64:
postgresql92-postgresql-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-contrib-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-debuginfo-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-libs-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-pltcl-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-server-9.2.10-2.el6.x86_64.rpm
postgresql92-postgresql-upgrade-9.2.10-2.el6.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://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2014-8161
https://access.redhat.com/security/cve/CVE-2015-0241
https://access.redhat.com/security/cve/CVE-2015-0243
https://access.redhat.com/security/cve/CVE-2015-0244
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

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

Copyright 2015 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFVNMuwXlSAg2UNWIIRAncWAJ9Q7bQYQn9sJyL0P/GMS4R5qbK0QwCeN9I7
6m3T1xcOkSROTrjeB/6YJto=
=iXyS
- -----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

===========================================================================
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: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBVTWcbBLndAQH1ShLAQKOXA/+OlhSKqeTsJk+W2hriKsZUmEQkgEcZ9Oe
BNMh+n1BR6/YEKNEQqBg5JXg6Z5yiz00zQ9qQtvF7bRjAAFJDQYepdWQKCD94lMS
fEwiwOW1nMh3GGmavd9GwavgRqiShlxcUc7fBH5Lao6j/Opo1HR8sPYiZSeO6qGe
Rt7L+FQHJEtUZ2S3ZJt7my6Lgw11GIqdX2DA60Kjv8YRo8/ArO1tU/FW/kvl9SCZ
IcjRAob5Y9oMNl3IwkQS2cO3YVvUe2QvbUGQGeI1IPSphfn5WtDZedtDXbJeN4Ki
M2u9EjTpGUh5wtA1IsLMIxVXS+rS3LpxwOGyVAGu+qg7+S3irTXFWUw3AadPFSgY
Vu14vUWr2Fl6ObvvxAoBNQbFMqVW7F43PrFOxeuSOIlpfWkGzUJsQg3egB5fl47M
ryxyZ+QIb/FuIIpWvFlmbB361AUk+82kPkRkqslXFqSXNTDgsHPt5Ro4Q8ttiemd
H+ux5dsz4OvLBD/cFerEcBwFElCVoecaRo3dCIvx+TFTeOsZJAzM2sjiyXsKhVkr
N2wQDQ11IYbWlc25n+42cZF0+/DBbE1ISeq83RRK48Xxyu8cWLIs53p+qNsE2nTy
UYfXCKLg4r2adlya6S5w8HvZrzp/PFi8eyMoztPkSKXKXlfCkiQYEq7xcEmcL4pU
0WGQf5/nvqg=
=bc1V
-----END PGP SIGNATURE-----