RedHat: RHSA-2021-0163:01 Important: postgresql:12 security update
Summary
PostgreSQL is an advanced object-relational database management system
(DBMS).
The following packages have been upgraded to a later upstream version:
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: Uncontrolled search path element in logical replication
(CVE-2020-14349)
* postgresql: Uncontrolled search path element in CREATE EXTENSION
(CVE-2020-14350)
* postgresql: psql's \gset allows overwriting specially treated variables
(CVE-2020-25696)
* 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.
Summary
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.
References
https://access.redhat.com/security/cve/CVE-2020-1720 https://access.redhat.com/security/cve/CVE-2020-14349 https://access.redhat.com/security/cve/CVE-2020-14350 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
Package List
Red Hat Enterprise Linux AppStream EUS (v. 8.2):
Source:
pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.src.rpm
postgres-decoderbufs-0.10.0-2.module+el8.2.0+9043+1dbb5661.src.rpm
postgresql-12.5-1.module+el8.2.0+9043+1dbb5661.src.rpm
aarch64:
pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.aarch64.rpm
pgaudit-debuginfo-1.4.0-4.module+el8.2.0+9043+1dbb5661.aarch64.rpm
pgaudit-debugsource-1.4.0-4.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgres-decoderbufs-0.10.0-2.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgres-decoderbufs-debuginfo-0.10.0-2.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgres-decoderbufs-debugsource-0.10.0-2.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-contrib-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-contrib-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-debugsource-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-docs-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-docs-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-plperl-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-plperl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-plpython3-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-plpython3-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-pltcl-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-pltcl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-server-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-server-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-server-devel-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-server-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-static-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-test-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-test-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-upgrade-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-upgrade-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-upgrade-devel-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
postgresql-upgrade-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.aarch64.rpm
noarch:
postgresql-test-rpm-macros-12.5-1.module+el8.2.0+9043+1dbb5661.noarch.rpm
ppc64le:
pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
pgaudit-debuginfo-1.4.0-4.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
pgaudit-debugsource-1.4.0-4.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgres-decoderbufs-0.10.0-2.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgres-decoderbufs-debuginfo-0.10.0-2.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgres-decoderbufs-debugsource-0.10.0-2.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-contrib-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-contrib-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-debugsource-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-docs-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-docs-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-plperl-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-plperl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-plpython3-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-plpython3-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-pltcl-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-pltcl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-server-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-server-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-server-devel-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-server-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-static-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-test-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-test-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-upgrade-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-upgrade-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-upgrade-devel-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
postgresql-upgrade-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.ppc64le.rpm
s390x:
pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.s390x.rpm
pgaudit-debuginfo-1.4.0-4.module+el8.2.0+9043+1dbb5661.s390x.rpm
pgaudit-debugsource-1.4.0-4.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgres-decoderbufs-0.10.0-2.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgres-decoderbufs-debuginfo-0.10.0-2.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgres-decoderbufs-debugsource-0.10.0-2.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-contrib-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-contrib-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-debugsource-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-docs-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-docs-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-plperl-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-plperl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-plpython3-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-plpython3-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-pltcl-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-pltcl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-server-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-server-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-server-devel-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-server-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-static-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-test-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-test-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-upgrade-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-upgrade-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-upgrade-devel-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
postgresql-upgrade-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.s390x.rpm
x86_64:
pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.x86_64.rpm
pgaudit-debuginfo-1.4.0-4.module+el8.2.0+9043+1dbb5661.x86_64.rpm
pgaudit-debugsource-1.4.0-4.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgres-decoderbufs-0.10.0-2.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgres-decoderbufs-debuginfo-0.10.0-2.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgres-decoderbufs-debugsource-0.10.0-2.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-contrib-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-contrib-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-debugsource-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-docs-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-docs-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-plperl-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-plperl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-plpython3-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-plpython3-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-pltcl-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-pltcl-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-server-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-server-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-server-devel-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-server-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-static-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-test-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-test-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-upgrade-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-upgrade-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-upgrade-devel-12.5-1.module+el8.2.0+9043+1dbb5661.x86_64.rpm
postgresql-upgrade-devel-debuginfo-12.5-1.module+el8.2.0+9043+1dbb5661.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/
Topic
An update for the postgresql:12 module is now available for Red HatEnterprise Linux 8.2 Extended Update Support.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux AppStream EUS (v. 8.2) - aarch64, noarch, ppc64le, s390x, x86_64
Bugs Fixed
1798852 - CVE-2020-1720 postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization checks
1865744 - CVE-2020-14349 postgresql: Uncontrolled search path element in logical replication
1865746 - CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION
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