An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. While promptly updating PostgreSQL is the best remediation for most users, a user unable to do that can work around the vulnerability by disabling autovacuum and not manually running ANALYZE, CLUSTER, REINDEX, CREATE INDEX, VACUUM FULL, REFRESH MATERIALIZED VIEW, or a restore from output of the pg_dump command. Performance may degrade quickly under this workaround. VACUUM, without the FULL option, is safe, and all commands are fine when a trusted user owns the target object.
Acknowledgments: Name: Etienne Stalmans
Mitigation: While promptly updating PostgreSQL is the best remediation for most users, a user unable to do that can work around the vulnerability by disabling autovacuum and not manually running ANALYZE, CLUSTER, REINDEX, CREATE INDEX, VACUUM FULL, REFRESH MATERIALIZED VIEW, or a restore from output of the pg_dump command. Performance may degrade quickly under this workaround.
Created mingw-postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897232] Created postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897229] Created postgresql:10/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897226] Created postgresql:11/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897223] Created postgresql:12/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897220] Created postgresql:9.6/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897217]
Statement: In Red Hat Gluster Storage 3, PostgreSQL (embedded in rhevm-dependencies) was shipped as a part of Red Hat Gluster Storage Console that is no longer supported for use with Red Hat Gluster Storage 3.5. Red Hat Gluster Storage Web Administration is now the recommended monitoring tool for Red Hat Storage Gluster clusters. In Red Hat Virtualization the manager appliance uses a vulnerable version of postgresql. Once a fix has been shipped for RHEL 8 the appliance can consume the fix via a regular yum update.
Upstream fix: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0c3185e963d9f9dd0608214f7d732b84aa0888fe
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2020:5316 https://access.redhat.com/errata/RHSA-2020:5316
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2020:5317 https://access.redhat.com/errata/RHSA-2020:5317
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5567 https://access.redhat.com/errata/RHSA-2020:5567
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2020-25695
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5619 https://access.redhat.com/errata/RHSA-2020:5619
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5620 https://access.redhat.com/errata/RHSA-2020:5620
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions Via RHSA-2020:5661 https://access.redhat.com/errata/RHSA-2020:5661
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions Via RHSA-2020:5664 https://access.redhat.com/errata/RHSA-2020:5664
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0161 https://access.redhat.com/errata/RHSA-2021:0161
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0163 https://access.redhat.com/errata/RHSA-2021:0163
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0164 https://access.redhat.com/errata/RHSA-2021:0164
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Extended Update Support Via RHSA-2021:0166 https://access.redhat.com/errata/RHSA-2021:0166
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Extended Update Support Via RHSA-2021:0167 https://access.redhat.com/errata/RHSA-2021:0167
External References: https://staaldraad.github.io/post/2020-12-15-cve-2020-25695-postgresql-privesc/ https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2021:1512 https://access.redhat.com/errata/RHSA-2021:1512