RHSA-2020:5567HighCVSS 8.8

Red Hat Security Advisory: postgresql:10 security update

Published
December 16, 2020
Last Modified
August 4, 2026

🔗 CVE IDs covered (3)

📋 Description

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

🎯 Affected products102

  • Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-0:10.15-1.module+el8.3.0+8944+1ca16b1f.src (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-contrib-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debugsource-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debugsource-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debugsource-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-debugsource-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.aarch64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.ppc64le (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.s390x (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • postgresql-docs-debuginfo-0:10.15-1.module+el8.3.0+8944+1ca16b1f.x86_64 (postgresql:10) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • +72 more not shown

✅ Remediation

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. Workaround: 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. Workaround: Using \gset with a prefix not found among specially treated variables, e.g. any lowercase string, precludes the attack in an unpatched psql.

🔗 References (6)