Red Hat Security Advisory 2017-1677-01 - PostgreSQL is an advanced object-relational database management system. The following packages have been upgraded to a later upstream version: rh-postgresql95-postgresql. Security Fix: It was found that some selectivity estimation functions did not check user privileges before providing information from pg_statistic, possibly leaking information. A non-administrative database user could use this flaw to steal some information from tables they are otherwise not allowed to access.
6a2a2bbb20f6e4a8d8c3e38008887bf59099e8071cb8e8af51234ac3b21fa488
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Moderate: rh-postgresql95-postgresql security update
Advisory ID: RHSA-2017:1677-01
Product: Red Hat Software Collections
Advisory URL: https://access.redhat.com/errata/RHSA-2017:1677
Issue date: 2017-07-05
CVE Names: CVE-2017-7484 CVE-2017-7485 CVE-2017-7486
=====================================================================
1. Summary:
An update for rh-postgresql95-postgresql is now available for Red Hat
Software Collections.
Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.
2. Relevant releases/architectures:
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - x86_64
3. Description:
PostgreSQL is an advanced object-relational database management system
(DBMS).
The following packages have been upgraded to a later upstream version:
rh-postgresql95-postgresql (9.5.7). (BZ#1449701)
Security Fix(es):
* It was found that some selectivity estimation functions did not check
user privileges before providing information from pg_statistic, possibly
leaking information. A non-administrative database user could use this flaw
to steal some information from tables they are otherwise not allowed to
access. (CVE-2017-7484)
* It was discovered that the PostgreSQL client library (libpq) did not
enforce the use of TLS/SSL for a connection to a PostgreSQL server when the
PGREQUIRESSL environment variable was set. An man-in-the-middle attacker
could use this flaw to strip the SSL/TLS protection from a connection
between a client and a server. (CVE-2017-7485)
* It was found that the pg_user_mappings view could disclose information
about user mappings to a foreign database to non-administrative database
users. A database user with USAGE privilege for this mapping could, when
querying the view, obtain user mapping data, such as the username and
password used to connect to the foreign database. (CVE-2017-7486)
Red Hat would like to thank the PostgreSQL project for reporting these
issues. Upstream acknowledges Robert Haas as the original reporter of
CVE-2017-7484; Daniel Gustafsson as the original reporter of CVE-2017-7485;
and Andrew Wheelwright as the original reporter of CVE-2017-7486.
4. Solution:
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
If the postgresql service is running, it will be automatically restarted
after installing this update.
5. Bugs fixed (https://bugzilla.redhat.com/):
1448078 - CVE-2017-7484 postgresql: Selectivity estimators bypass SELECT privilege checks
1448086 - CVE-2017-7485 postgresql: libpq ignores PGREQUIRESSL environment variable
1448089 - CVE-2017-7486 postgresql: pg_user_mappings view discloses foreign server passwords
1452734 - Broken upgrade 'postgresql-setup --upgrade --upgrade-from=postgresql92-postgresql'
6. Package List:
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):
Source:
rh-postgresql95-postgresql-9.5.7-2.el6.src.rpm
x86_64:
rh-postgresql95-postgresql-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.7-2.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7):
Source:
rh-postgresql95-postgresql-9.5.7-2.el6.src.rpm
x86_64:
rh-postgresql95-postgresql-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.7-2.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6):
Source:
rh-postgresql95-postgresql-9.5.7-2.el6.src.rpm
x86_64:
rh-postgresql95-postgresql-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.7-2.el6.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.7-2.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):
Source:
rh-postgresql95-postgresql-9.5.7-2.el7.src.rpm
x86_64:
rh-postgresql95-postgresql-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.7-2.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3):
Source:
rh-postgresql95-postgresql-9.5.7-2.el7.src.rpm
x86_64:
rh-postgresql95-postgresql-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.7-2.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):
Source:
rh-postgresql95-postgresql-9.5.7-2.el7.src.rpm
x86_64:
rh-postgresql95-postgresql-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.7-2.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.7-2.el7.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-2017-7484
https://access.redhat.com/security/cve/CVE-2017-7485
https://access.redhat.com/security/cve/CVE-2017-7486
https://access.redhat.com/security/updates/classification/#moderate
https://www.postgresql.org/about/news/1746/
https://www.postgresql.org/docs/current/static/release-9-5-5.html
https://www.postgresql.org/docs/current/static/release-9-5-6.html
https://www.postgresql.org/docs/current/static/release-9-5-7.html
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2017 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iD8DBQFZXLvSXlSAg2UNWIIRAuDbAJ41BGUv+8ZJELFtN8yqFZqiw9JSRwCdFlGn
0yi5Elnb7WesY36YK8Syj7I=
=BBQO
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce