Red Hat Security Advisory 2015-1194-01 - PostgreSQL is an advanced object-relational database management system. A double-free flaw was found in the connection handling. An unauthenticated attacker could exploit this flaw to crash the PostgreSQL back end by disconnecting at approximately the same time as the authentication time out is triggered. It was discovered that PostgreSQL did not properly check the return values of certain standard library functions. If the system is in a state that would cause the standard library functions to fail, for example memory exhaustion, an authenticated user could exploit this flaw to disclose partial memory contents or cause the GSSAPI authentication to use an incorrect keytab file.
7df1d0bc78fc8d84be2cbf7f54933f20a33ddbf05e07e10604dd63a337dfdb36
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Moderate: postgresql security update
Advisory ID: RHSA-2015:1194-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2015-1194.html
Issue date: 2015-06-29
CVE Names: CVE-2015-3165 CVE-2015-3166 CVE-2015-3167
=====================================================================
1. Summary:
Updated postgresql packages that fix three security issues are now
available for Red Hat Enterprise Linux 6 and 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 Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64
3. Description:
PostgreSQL is an advanced object-relational database management system
(DBMS).
A double-free flaw was found in the connection handling. An unauthenticated
attacker could exploit this flaw to crash the PostgreSQL back end by
disconnecting at approximately the same time as the authentication time out
is triggered. (CVE-2015-3165)
It was discovered that PostgreSQL did not properly check the return values
of certain standard library functions. If the system is in a state that
would cause the standard library functions to fail, for example memory
exhaustion, an authenticated user could exploit this flaw to disclose
partial memory contents or cause the GSSAPI authentication to use an
incorrect keytab file. (CVE-2015-3166)
It was discovered that the pgcrypto module could return different error
messages when decrypting certain data with an incorrect key. This can help
an authenticated user to launch a possible cryptographic attack, although
no suitable attack is currently known. (CVE-2015-3167)
Red Hat would like to thank the PostgreSQL project for reporting these
issues. Upstream acknowledges Benkocs Norbert Attila as the original
reporter of CVE-2015-3165 and Noah Misch as the original reporter of
CVE-2015-3166 and CVE-2015-3167.
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/):
1221537 - CVE-2015-3165 postgresql: double-free after authentication timeout
1221539 - CVE-2015-3166 postgresql: unanticipated errors from the standard library
1221541 - CVE-2015-3167 postgresql: pgcrypto has multiple error messages for decryption with an incorrect key.
6. Package List:
Red Hat Enterprise Linux Desktop (v. 6):
Source:
postgresql-8.4.20-3.el6_6.src.rpm
i386:
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
x86_64:
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.x86_64.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.x86_64.rpm
Red Hat Enterprise Linux Desktop Optional (v. 6):
i386:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-contrib-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-docs-8.4.20-3.el6_6.i686.rpm
postgresql-plperl-8.4.20-3.el6_6.i686.rpm
postgresql-plpython-8.4.20-3.el6_6.i686.rpm
postgresql-pltcl-8.4.20-3.el6_6.i686.rpm
postgresql-server-8.4.20-3.el6_6.i686.rpm
postgresql-test-8.4.20-3.el6_6.i686.rpm
x86_64:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-8.4.20-3.el6_6.x86_64.rpm
postgresql-contrib-8.4.20-3.el6_6.x86_64.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.x86_64.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.x86_64.rpm
postgresql-docs-8.4.20-3.el6_6.x86_64.rpm
postgresql-plperl-8.4.20-3.el6_6.x86_64.rpm
postgresql-plpython-8.4.20-3.el6_6.x86_64.rpm
postgresql-pltcl-8.4.20-3.el6_6.x86_64.rpm
postgresql-server-8.4.20-3.el6_6.x86_64.rpm
postgresql-test-8.4.20-3.el6_6.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source:
postgresql-8.4.20-3.el6_6.src.rpm
x86_64:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-8.4.20-3.el6_6.x86_64.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.x86_64.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.x86_64.rpm
Red Hat Enterprise Linux HPC Node Optional (v. 6):
x86_64:
postgresql-contrib-8.4.20-3.el6_6.x86_64.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.x86_64.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.x86_64.rpm
postgresql-docs-8.4.20-3.el6_6.x86_64.rpm
postgresql-plperl-8.4.20-3.el6_6.x86_64.rpm
postgresql-plpython-8.4.20-3.el6_6.x86_64.rpm
postgresql-pltcl-8.4.20-3.el6_6.x86_64.rpm
postgresql-server-8.4.20-3.el6_6.x86_64.rpm
postgresql-test-8.4.20-3.el6_6.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source:
postgresql-8.4.20-3.el6_6.src.rpm
i386:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-contrib-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-docs-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
postgresql-plperl-8.4.20-3.el6_6.i686.rpm
postgresql-plpython-8.4.20-3.el6_6.i686.rpm
postgresql-pltcl-8.4.20-3.el6_6.i686.rpm
postgresql-server-8.4.20-3.el6_6.i686.rpm
postgresql-test-8.4.20-3.el6_6.i686.rpm
ppc64:
postgresql-8.4.20-3.el6_6.ppc.rpm
postgresql-8.4.20-3.el6_6.ppc64.rpm
postgresql-contrib-8.4.20-3.el6_6.ppc64.rpm
postgresql-debuginfo-8.4.20-3.el6_6.ppc.rpm
postgresql-debuginfo-8.4.20-3.el6_6.ppc64.rpm
postgresql-devel-8.4.20-3.el6_6.ppc.rpm
postgresql-devel-8.4.20-3.el6_6.ppc64.rpm
postgresql-docs-8.4.20-3.el6_6.ppc64.rpm
postgresql-libs-8.4.20-3.el6_6.ppc.rpm
postgresql-libs-8.4.20-3.el6_6.ppc64.rpm
postgresql-plperl-8.4.20-3.el6_6.ppc64.rpm
postgresql-plpython-8.4.20-3.el6_6.ppc64.rpm
postgresql-pltcl-8.4.20-3.el6_6.ppc64.rpm
postgresql-server-8.4.20-3.el6_6.ppc64.rpm
postgresql-test-8.4.20-3.el6_6.ppc64.rpm
s390x:
postgresql-8.4.20-3.el6_6.s390.rpm
postgresql-8.4.20-3.el6_6.s390x.rpm
postgresql-contrib-8.4.20-3.el6_6.s390x.rpm
postgresql-debuginfo-8.4.20-3.el6_6.s390.rpm
postgresql-debuginfo-8.4.20-3.el6_6.s390x.rpm
postgresql-devel-8.4.20-3.el6_6.s390.rpm
postgresql-devel-8.4.20-3.el6_6.s390x.rpm
postgresql-docs-8.4.20-3.el6_6.s390x.rpm
postgresql-libs-8.4.20-3.el6_6.s390.rpm
postgresql-libs-8.4.20-3.el6_6.s390x.rpm
postgresql-plperl-8.4.20-3.el6_6.s390x.rpm
postgresql-plpython-8.4.20-3.el6_6.s390x.rpm
postgresql-pltcl-8.4.20-3.el6_6.s390x.rpm
postgresql-server-8.4.20-3.el6_6.s390x.rpm
postgresql-test-8.4.20-3.el6_6.s390x.rpm
x86_64:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-8.4.20-3.el6_6.x86_64.rpm
postgresql-contrib-8.4.20-3.el6_6.x86_64.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.x86_64.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.x86_64.rpm
postgresql-docs-8.4.20-3.el6_6.x86_64.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.x86_64.rpm
postgresql-plperl-8.4.20-3.el6_6.x86_64.rpm
postgresql-plpython-8.4.20-3.el6_6.x86_64.rpm
postgresql-pltcl-8.4.20-3.el6_6.x86_64.rpm
postgresql-server-8.4.20-3.el6_6.x86_64.rpm
postgresql-test-8.4.20-3.el6_6.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source:
postgresql-8.4.20-3.el6_6.src.rpm
i386:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-contrib-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-docs-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
postgresql-plperl-8.4.20-3.el6_6.i686.rpm
postgresql-plpython-8.4.20-3.el6_6.i686.rpm
postgresql-pltcl-8.4.20-3.el6_6.i686.rpm
postgresql-server-8.4.20-3.el6_6.i686.rpm
postgresql-test-8.4.20-3.el6_6.i686.rpm
x86_64:
postgresql-8.4.20-3.el6_6.i686.rpm
postgresql-8.4.20-3.el6_6.x86_64.rpm
postgresql-contrib-8.4.20-3.el6_6.x86_64.rpm
postgresql-debuginfo-8.4.20-3.el6_6.i686.rpm
postgresql-debuginfo-8.4.20-3.el6_6.x86_64.rpm
postgresql-devel-8.4.20-3.el6_6.i686.rpm
postgresql-devel-8.4.20-3.el6_6.x86_64.rpm
postgresql-docs-8.4.20-3.el6_6.x86_64.rpm
postgresql-libs-8.4.20-3.el6_6.i686.rpm
postgresql-libs-8.4.20-3.el6_6.x86_64.rpm
postgresql-plperl-8.4.20-3.el6_6.x86_64.rpm
postgresql-plpython-8.4.20-3.el6_6.x86_64.rpm
postgresql-pltcl-8.4.20-3.el6_6.x86_64.rpm
postgresql-server-8.4.20-3.el6_6.x86_64.rpm
postgresql-test-8.4.20-3.el6_6.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
Source:
postgresql-9.2.13-1.el7_1.src.rpm
x86_64:
postgresql-9.2.13-1.el7_1.i686.rpm
postgresql-9.2.13-1.el7_1.x86_64.rpm
postgresql-contrib-9.2.13-1.el7_1.x86_64.rpm
postgresql-debuginfo-9.2.13-1.el7_1.i686.rpm
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-devel-9.2.13-1.el7_1.i686.rpm
postgresql-devel-9.2.13-1.el7_1.x86_64.rpm
postgresql-docs-9.2.13-1.el7_1.x86_64.rpm
postgresql-libs-9.2.13-1.el7_1.i686.rpm
postgresql-libs-9.2.13-1.el7_1.x86_64.rpm
postgresql-plperl-9.2.13-1.el7_1.x86_64.rpm
postgresql-plpython-9.2.13-1.el7_1.x86_64.rpm
postgresql-pltcl-9.2.13-1.el7_1.x86_64.rpm
postgresql-server-9.2.13-1.el7_1.x86_64.rpm
postgresql-test-9.2.13-1.el7_1.x86_64.rpm
postgresql-upgrade-9.2.13-1.el7_1.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source:
postgresql-9.2.13-1.el7_1.src.rpm
x86_64:
postgresql-9.2.13-1.el7_1.x86_64.rpm
postgresql-debuginfo-9.2.13-1.el7_1.i686.rpm
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-libs-9.2.13-1.el7_1.i686.rpm
postgresql-libs-9.2.13-1.el7_1.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
x86_64:
postgresql-9.2.13-1.el7_1.i686.rpm
postgresql-contrib-9.2.13-1.el7_1.x86_64.rpm
postgresql-debuginfo-9.2.13-1.el7_1.i686.rpm
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-devel-9.2.13-1.el7_1.i686.rpm
postgresql-devel-9.2.13-1.el7_1.x86_64.rpm
postgresql-docs-9.2.13-1.el7_1.x86_64.rpm
postgresql-plperl-9.2.13-1.el7_1.x86_64.rpm
postgresql-plpython-9.2.13-1.el7_1.x86_64.rpm
postgresql-pltcl-9.2.13-1.el7_1.x86_64.rpm
postgresql-server-9.2.13-1.el7_1.x86_64.rpm
postgresql-test-9.2.13-1.el7_1.x86_64.rpm
postgresql-upgrade-9.2.13-1.el7_1.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
postgresql-9.2.13-1.el7_1.src.rpm
ppc64:
postgresql-9.2.13-1.el7_1.ppc.rpm
postgresql-9.2.13-1.el7_1.ppc64.rpm
postgresql-contrib-9.2.13-1.el7_1.ppc64.rpm
postgresql-debuginfo-9.2.13-1.el7_1.ppc.rpm
postgresql-debuginfo-9.2.13-1.el7_1.ppc64.rpm
postgresql-devel-9.2.13-1.el7_1.ppc.rpm
postgresql-devel-9.2.13-1.el7_1.ppc64.rpm
postgresql-docs-9.2.13-1.el7_1.ppc64.rpm
postgresql-libs-9.2.13-1.el7_1.ppc.rpm
postgresql-libs-9.2.13-1.el7_1.ppc64.rpm
postgresql-plperl-9.2.13-1.el7_1.ppc64.rpm
postgresql-plpython-9.2.13-1.el7_1.ppc64.rpm
postgresql-pltcl-9.2.13-1.el7_1.ppc64.rpm
postgresql-server-9.2.13-1.el7_1.ppc64.rpm
postgresql-test-9.2.13-1.el7_1.ppc64.rpm
s390x:
postgresql-9.2.13-1.el7_1.s390.rpm
postgresql-9.2.13-1.el7_1.s390x.rpm
postgresql-contrib-9.2.13-1.el7_1.s390x.rpm
postgresql-debuginfo-9.2.13-1.el7_1.s390.rpm
postgresql-debuginfo-9.2.13-1.el7_1.s390x.rpm
postgresql-devel-9.2.13-1.el7_1.s390.rpm
postgresql-devel-9.2.13-1.el7_1.s390x.rpm
postgresql-docs-9.2.13-1.el7_1.s390x.rpm
postgresql-libs-9.2.13-1.el7_1.s390.rpm
postgresql-libs-9.2.13-1.el7_1.s390x.rpm
postgresql-plperl-9.2.13-1.el7_1.s390x.rpm
postgresql-plpython-9.2.13-1.el7_1.s390x.rpm
postgresql-pltcl-9.2.13-1.el7_1.s390x.rpm
postgresql-server-9.2.13-1.el7_1.s390x.rpm
postgresql-test-9.2.13-1.el7_1.s390x.rpm
x86_64:
postgresql-9.2.13-1.el7_1.i686.rpm
postgresql-9.2.13-1.el7_1.x86_64.rpm
postgresql-contrib-9.2.13-1.el7_1.x86_64.rpm
postgresql-debuginfo-9.2.13-1.el7_1.i686.rpm
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-devel-9.2.13-1.el7_1.i686.rpm
postgresql-devel-9.2.13-1.el7_1.x86_64.rpm
postgresql-docs-9.2.13-1.el7_1.x86_64.rpm
postgresql-libs-9.2.13-1.el7_1.i686.rpm
postgresql-libs-9.2.13-1.el7_1.x86_64.rpm
postgresql-plperl-9.2.13-1.el7_1.x86_64.rpm
postgresql-plpython-9.2.13-1.el7_1.x86_64.rpm
postgresql-pltcl-9.2.13-1.el7_1.x86_64.rpm
postgresql-server-9.2.13-1.el7_1.x86_64.rpm
postgresql-test-9.2.13-1.el7_1.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
postgresql-9.2.13-1.ael7b_1.src.rpm
ppc64le:
postgresql-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-contrib-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-debuginfo-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-devel-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-docs-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-libs-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-plperl-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-plpython-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-pltcl-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-server-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-test-9.2.13-1.ael7b_1.ppc64le.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64:
postgresql-debuginfo-9.2.13-1.el7_1.ppc64.rpm
postgresql-upgrade-9.2.13-1.el7_1.ppc64.rpm
s390x:
postgresql-debuginfo-9.2.13-1.el7_1.s390x.rpm
postgresql-upgrade-9.2.13-1.el7_1.s390x.rpm
x86_64:
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-upgrade-9.2.13-1.el7_1.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64le:
postgresql-debuginfo-9.2.13-1.ael7b_1.ppc64le.rpm
postgresql-upgrade-9.2.13-1.ael7b_1.ppc64le.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source:
postgresql-9.2.13-1.el7_1.src.rpm
x86_64:
postgresql-9.2.13-1.el7_1.i686.rpm
postgresql-9.2.13-1.el7_1.x86_64.rpm
postgresql-contrib-9.2.13-1.el7_1.x86_64.rpm
postgresql-debuginfo-9.2.13-1.el7_1.i686.rpm
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-devel-9.2.13-1.el7_1.i686.rpm
postgresql-devel-9.2.13-1.el7_1.x86_64.rpm
postgresql-docs-9.2.13-1.el7_1.x86_64.rpm
postgresql-libs-9.2.13-1.el7_1.i686.rpm
postgresql-libs-9.2.13-1.el7_1.x86_64.rpm
postgresql-plperl-9.2.13-1.el7_1.x86_64.rpm
postgresql-plpython-9.2.13-1.el7_1.x86_64.rpm
postgresql-pltcl-9.2.13-1.el7_1.x86_64.rpm
postgresql-server-9.2.13-1.el7_1.x86_64.rpm
postgresql-test-9.2.13-1.el7_1.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64:
postgresql-debuginfo-9.2.13-1.el7_1.x86_64.rpm
postgresql-upgrade-9.2.13-1.el7_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://access.redhat.com/security/team/key/
7. References:
https://access.redhat.com/security/cve/CVE-2015-3165
https://access.redhat.com/security/cve/CVE-2015-3166
https://access.redhat.com/security/cve/CVE-2015-3167
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
iD8DBQFVkXYEXlSAg2UNWIIRAqPyAJ4+oNPb8x+Rv86xVfq+hr0l7wvbBgCgrstj
JLgqt0VKrW96edx3scvrmV0=
=I50/
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce