Red Hat 9042 Published by

A rh-postgresql12-postgresql security update has been released for Red Hat Enterprise Linux 7.



RHSA-2020:5317-01: Important: rh-postgresql12-postgresql security update



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

Synopsis: Important: rh-postgresql12-postgresql security update
Advisory ID: RHSA-2020:5317-01
Product: Red Hat Software Collections
Advisory URL:   https://access.redhat.com/errata/RHSA-2020:5317
Issue date: 2020-12-02
CVE Names: CVE-2020-25694 CVE-2020-25695 CVE-2020-25696
=====================================================================

1. Summary:

An update for rh-postgresql12-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. 7) - ppc64le, s390x, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) - ppc64le, s390x, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) - 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-postgresql12-postgresql (12.5).

Security Fix(es):

* postgresql: Reconnection can downgrade connection security settings
(CVE-2020-25694)

* postgresql: Multiple features escape "security restricted operation"
sandbox (CVE-2020-25695)

* postgresql: psql's \gset allows overwriting specially treated variables
(CVE-2020-25696)

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

1894423 - CVE-2020-25694 postgresql: Reconnection can downgrade connection security settings
1894425 - CVE-2020-25695 postgresql: Multiple features escape "security restricted operation" sandbox
1894430 - CVE-2020-25696 postgresql: psql's \gset allows overwriting specially treated variables

6. Package List:

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

Source:
rh-postgresql12-postgresql-12.5-1.el7.src.rpm

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

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

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

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

Source:
rh-postgresql12-postgresql-12.5-1.el7.src.rpm

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

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

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

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

Source:
rh-postgresql12-postgresql-12.5-1.el7.src.rpm

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

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

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

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

Source:
rh-postgresql12-postgresql-12.5-1.el7.src.rpm

x86_64:
rh-postgresql12-postgresql-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-contrib-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-contrib-syspaths-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-debuginfo-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-devel-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-docs-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-libs-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-plperl-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-plpython-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-pltcl-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-server-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-server-syspaths-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-static-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-syspaths-12.5-1.el7.x86_64.rpm
rh-postgresql12-postgresql-test-12.5-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-2020-25694
  https://access.redhat.com/security/cve/CVE-2020-25695
  https://access.redhat.com/security/cve/CVE-2020-25696
  https://access.redhat.com/security/updates/classification/#important

8. Contact:

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

Copyright 2020 Red Hat, Inc.