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

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

                               ESB-2020.3630
                rh-postgresql96-postgresql security update
                              22 October 2020

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

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

Product:           rh-postgresql96-postgresql
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Access Confidential Data        -- Existing Account
                   Unauthorised Access             -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-14350 CVE-2020-1720 CVE-2019-10208
                   CVE-2019-10130  

Reference:         ESB-2020.3074
                   ESB-2020.2970
                   ESB-2020.2906
                   ESB-2020.2844

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2020:4295

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

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

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

Synopsis:          Moderate: rh-postgresql96-postgresql security update
Advisory ID:       RHSA-2020:4295-01
Product:           Red Hat Software Collections
Advisory URL:      https://access.redhat.com/errata/RHSA-2020:4295
Issue date:        2020-10-21
CVE Names:         CVE-2019-10130 CVE-2019-10208 CVE-2020-1720 
                   CVE-2020-14350 
=====================================================================

1. Summary:

An update for rh-postgresql96-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. 7) - aarch64, ppc64le, s390x, 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-postgresql96-postgresql (9.6.19). (BZ#1881766, BZ#1881769, BZ#1881771,
BZ#1881773)

Security Fix(es):

* postgresql: TYPE in pg_temp executes arbitrary SQL during SECURITY
DEFINER execution (CVE-2019-10208)

* postgresql: Uncontrolled search path element in CREATE EXTENSION
(CVE-2020-14350)

* postgresql: Selectivity estimators bypass row security policies
(CVE-2019-10130)

* postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization
checks (CVE-2020-1720)

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

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

1707109 - CVE-2019-10130 postgresql: Selectivity estimators bypass row security policies
1734416 - CVE-2019-10208 postgresql: TYPE in pg_temp executes arbitrary SQL during SECURITY DEFINER execution
1798852 - CVE-2020-1720 postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization checks
1865746 - CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION

6. Package List:

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

Source:
rh-postgresql96-postgresql-9.6.19-1.el7.src.rpm

aarch64:
rh-postgresql96-postgresql-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-test-9.6.19-1.el7.aarch64.rpm

ppc64le:
rh-postgresql96-postgresql-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-test-9.6.19-1.el7.ppc64le.rpm

s390x:
rh-postgresql96-postgresql-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-test-9.6.19-1.el7.s390x.rpm

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

Source:
rh-postgresql96-postgresql-9.6.19-1.el7.src.rpm

aarch64:
rh-postgresql96-postgresql-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.aarch64.rpm
rh-postgresql96-postgresql-test-9.6.19-1.el7.aarch64.rpm

ppc64le:
rh-postgresql96-postgresql-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.ppc64le.rpm
rh-postgresql96-postgresql-test-9.6.19-1.el7.ppc64le.rpm

s390x:
rh-postgresql96-postgresql-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.s390x.rpm
rh-postgresql96-postgresql-test-9.6.19-1.el7.s390x.rpm

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

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

Source:
rh-postgresql96-postgresql-9.6.19-1.el7.src.rpm

x86_64:
rh-postgresql96-postgresql-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-contrib-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-debuginfo-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-devel-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-docs-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-libs-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-plperl-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-plpython-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-pltcl-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-server-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-server-syspaths-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-static-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-syspaths-9.6.19-1.el7.x86_64.rpm
rh-postgresql96-postgresql-test-9.6.19-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-2019-10130
https://access.redhat.com/security/cve/CVE-2019-10208
https://access.redhat.com/security/cve/CVE-2020-1720
https://access.redhat.com/security/cve/CVE-2020-14350
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 2020 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBX5Ayh9zjgjWX9erEAQjI8A//U4euOM0KLXCQV+LkjP3U4ef1QMrjHvua
00jEadQL3Kc/y4yb5YL8WkbWJf+T9yH7PolaS05neY//UovyE4afXMYVdY98EM6T
h/R+ULmkxS0zY7K7B69G9F4OO1wa4URf/qagn2urSRbCc0Y4OSrUuYjOIrC7DL0V
JCglJ3JkceKb1YTdui6CoeCeh4vjrBjh2+YmgdId1qnochIA8jM2wi2tactBd724
sNca2jyAeMT/CmBoX0WhTp47Ly99K2FxzxgNskuja9ukx4GZabS8sVD+EBkmRvzZ
r6PWhn4980GzqAtTGaZ0UQuiRBg81jicTvWfocS9H330vUjwyiepP6oFVuntBEou
zdnGa2BjvJF2HsLqTeRq9S4m7/WzMLMIbEFre1S3y4xqFMuK+rgVY5rFmiTFpfEL
S7zMlpb4FwGq//gorniN2xMsFq2+gGeLmBFxJqxScWSiBV+iDH2YJFaH4nTGuP/6
LAoUhlMG+E3ZOWWSE+VQnSvET+FKmkfUhnV7qwXEtKH2+vfHgVdRcfgZnO09lqU2
/BLpVxGNVhkOB7CM9tM9JziddtsRTDETdCSK01n9uxCHHoXLamLKxfF8JEujChhn
XOfF+icIUFAJu95AaIhRDzUORZHPi37BltsF9hl3Q2tXXltCK6XBvb75YlORgxsM
aRhforJCInM=
=bRgk
- -----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

iQIUAwUBX5DifONLKJtyKPYoAQiurQ/2PmPTn3XW+Ts41oZqZsmFG9TdV3GRND4p
ogIl57Qkceucxvijjp5u1I0CdPe0ROHoEz7vg264Ln7VbNnXY9T90iWxcx7ZEmAb
07gH3QvNFK8sl9AkDm9i3vwVwrqC5AJRGMyjrE20TVzgMZpaJS/wt4zyUUmbC6zW
U7ctdywSqKL0l7P3/59lfjjNEA5VKrghvqj3nDqvtXSVXcNGZUJacVCtRuPpc8cj
A7AkjNNfVJKkGCjpSUxlWMM68AQvhi5vY/UHRUYQu3w8XW41c3sVEqN+FEog6X4Z
CCeH4n85PMa66UlEr8UTlLMP+xguwzUk4T70FPXB5qgdr5O+W3TsAr/nXCbBFuQs
9A0EMbrEojw6saACh35odIdSYNIRLojYsJR4ClfEY0LNnWdrS90yiV/S/R6m5GtC
pW4VHu2MQ/oT1GY7EqHIY5GoBMn7GjIh19fcHChCkcmXxqAZevRLiJk1MIPyJufx
EgHRn8FWb9VBi5e/7yGLuBShYkFloeGA80guHxsMkLaiC5I0fztZFdT25RBwdu9/
ga/xDlVcWHvimQfWWGrkSRCc5IMR/uFcfN2aCj2K+eKNn8ljIjiJDYZARGQHzkAb
85mtVOREINGCiPASqZJJqoF2Wdhif6YA3wrtn9wvOP0AMUDBBi2paR+1x0ZuZqTs
9/c3foo4eg==
=7zdn
-----END PGP SIGNATURE-----