-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

                               ESB-2018.2451
           Important: rh-postgresql95-postgresql security update
                              21 August 2018

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

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

Product:           rh-postgresql95-postgresql
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
                   Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Increased Privileges      -- Existing Account
                   Access Privileged Data    -- Existing Account
                   Overwrite Arbitrary Files -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-10925 CVE-2018-10915 CVE-2018-1058
                   CVE-2018-1053 CVE-2017-15099 CVE-2017-15098

Reference:         ESB-2018.2396
                   ESB-2018.1497
                   ESB-2018.0666
                   ESB-2018.0427
                   ESB-2017.2909

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2018:2511

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

Synopsis:          Important: rh-postgresql95-postgresql security update
Advisory ID:       RHSA-2018:2511-01
Product:           Red Hat Software Collections
Advisory URL:      https://access.redhat.com/errata/RHSA-2018:2511
Issue date:        2018-08-20
CVE Names:         CVE-2017-15098 CVE-2017-15099 CVE-2018-1053 
                   CVE-2018-1058 CVE-2018-10915 CVE-2018-10925 
=====================================================================

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 Important. 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 Server EUS (v. 7.4) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) - 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.14). (BZ#1612671)

Security Fix(es):

* postgresql: Certain host connection parameters defeat client-side
security defenses (CVE-2018-10915)

* postgresql: Missing authorization and memory disclosure in INSERT ... ON
CONFLICT DO UPDATE statements (CVE-2018-10925)

* postgresql: Memory disclosure in JSON functions (CVE-2017-15098)

* postgresql: pg_upgrade creates file of sensitive metadata under
prevailing umask (CVE-2018-1053)

* postgresql: Uncontrolled search path element in pg_dump and other client
applications (CVE-2018-1058)

* postgresql: INSERT ... ON CONFLICT DO UPDATE fails to enforce SELECT
privileges (CVE-2017-15099)

For more details about the security issue(s), including the impact, a CVSS
score, and other related information, refer to the CVE page(s) listed in
the References section.

Red Hat would like to thank the PostgreSQL project for reporting
CVE-2018-10915, CVE-2018-10925, CVE-2017-15098, CVE-2018-1053, and
CVE-2017-15099. Upstream acknowledges Andrew Krasichkov as the original
reporter of CVE-2018-10915; David Rowley as the original reporter of
CVE-2017-15098; Tom Lane as the original reporter of CVE-2018-1053; and
Dean Rasheed as the original reporter of CVE-2017-15099.

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/):

1508820 - CVE-2017-15098 postgresql: Memory disclosure in JSON functions
1508823 - CVE-2017-15099 postgresql: INSERT ... ON CONFLICT DO UPDATE fails to enforce SELECT privileges
1539619 - CVE-2018-1053 postgresql: pg_upgrade creates file of sensitive metadata under prevailing umask
1547044 - CVE-2018-1058 postgresql: Uncontrolled search path element in pg_dump and other client applications
1609891 - CVE-2018-10915 postgresql: Certain host connection parameters defeat client-side security defenses
1612619 - CVE-2018-10925 postgresql: Missing authorization and memory disclosure in INSERT ... ON CONFLICT DO UPDATE statements

6. Package List:

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):

Source:
rh-postgresql95-postgresql-9.5.14-1.el6.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7):

Source:
rh-postgresql95-postgresql-9.5.14-1.el6.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6):

Source:
rh-postgresql95-postgresql-9.5.14-1.el6.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el6.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):

Source:
rh-postgresql95-postgresql-9.5.14-1.el7.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3):

Source:
rh-postgresql95-postgresql-9.5.14-1.el7.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4):

Source:
rh-postgresql95-postgresql-9.5.14-1.el7.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5):

Source:
rh-postgresql95-postgresql-9.5.14-1.el7.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):

Source:
rh-postgresql95-postgresql-9.5.14-1.el7.src.rpm

x86_64:
rh-postgresql95-postgresql-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-contrib-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-debuginfo-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-devel-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-docs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-libs-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plperl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-plpython-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-pltcl-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-server-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-static-9.5.14-1.el7.x86_64.rpm
rh-postgresql95-postgresql-test-9.5.14-1.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-15098
https://access.redhat.com/security/cve/CVE-2017-15099
https://access.redhat.com/security/cve/CVE-2018-1053
https://access.redhat.com/security/cve/CVE-2018-1058
https://access.redhat.com/security/cve/CVE-2018-10915
https://access.redhat.com/security/cve/CVE-2018-10925
https://access.redhat.com/security/updates/classification/#important

8. Contact:

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

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

iQIVAwUBW3qdHtzjgjWX9erEAQjysQ//UsBhEI9KYfAKKnfVIhEIIRm58aboLJZD
a8ez2sP872TXzpnILlyFIPLOAs+egVm7+tFNuJi1KHX9ss6Jf/2Yd4LW1/hv3NHv
YUyyZZZkwRa03wIy6mcq+lQ/dq/lXNWq7rcC/8qvQ7nyB3q/VknreLsWknDYBsYf
XbhqBz1A3lMBrL1knJQPH34eAkk8vUlWqZXWQrrXecOivk+3/w0HkKtvzF9ksePt
Khdl7oA6EvU7zeGIXb5lipCNLrCag0/zcR9wnARlmOFlWhN0fhQBZx+eWxxXpQC3
sNg+lccyaL67ZtqCn1czYOktNQAa+YkTm5Pld5gTo5c41I6qH5Nc685iQX9GXTCM
RhfFQHsH2lbRwmMMTl99eGjFBmcJMXBn86B2sY4NgDnELKzpK6HCkFbo5dgE6cLv
fHdId0b5DdiPek269+YZJuLZ6RKvlxxZdaRyy7SegXA2uCrWZO8K1omkOrxk8Fy3
KBwURte8WeURnkMlMuF+rrVyksTDux5JI2dXAYimiqA2ivncVLa8XAafZwBOo2/E
nkfnqqZs8JwS38o70iB3luJ5H19ab3u9juyauH4CX+hAATQGsgv5T226eonJYhAn
2rLs6Idd0Y9eDUIt2bJwOd/+ZcPF1nRHoaVuiOqUfSdFDqaAvIPCRl6lYRfGvk1G
zTnNBYZkwp8=
=XDfq
- -----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:

        https://www.auscert.org.au/bulletins/

===========================================================================
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

iQIVAwUBW3tqQmaOgq3Tt24GAQhXyxAAwZxmLc/wc3/5HCEInGkjVtAMbbGKlBQ/
X29tZYA6zO3aVKqOxTFN4fmbmbSLduUOoI2AqAEoyAIDdFzS0k6twJNuq4GxGsrS
iGgZavtUqdvhGDLWiVQK0hwaHVmdTBKKMSDmVWoIDqKXZL6AhYMGKwEyawhoGKoQ
OUujha1KV9V1nGYcIixR/cPB0FV9XHqyR+ANcBDv0h88mBOFgefyjUOcf0JN1bHz
lEa4hixoKjLD1pRLkbcaq5o9oIFNCLW7eMd4qi7kLCxkacQS/Us360MRz5nh6BRk
T/ceX8fdH3JKMcHRL9wrhnveX+c26Uv0aUXuWD0ruEOiso4ZSYwRcUPWv0uf+W2f
xHz4D9IEjGckcUeYb3Z7TcP5Z5PuExCdIS9slRfmKK9qharYsMTkcf+YLM4bXmfq
ePi6Xpi2nisf8+PEqUY9mmjzrR00qsnXBBf7WyoO8VP607PApwKncRj36fgYocpf
LSuo/ErL0eTjhVNP4rfFGE8B4tMhO81iBRHMeSWDbyg5urhaVR04b5w2OJFowaLk
j/B12aOftFrGV8d2GEPgSx495viahcO6EXxjKpwXCHj/yDzu00ZJHl0rBobU84ku
yqV89NTw2AYJDNNmJQDrg40B8q/7pMSjua5xuA2zY7PaMbhgWr1IT5xv3h3tvg0J
/sWOnd+BCyc=
=CGEq
-----END PGP SIGNATURE-----