RHSA-2020:5638HighCVSS 8.1

Red Hat Security Advisory: libpq security update

Published
December 21, 2020
Last Modified
August 4, 2026

🔗 CVE IDs covered (2)

📋 Description

CVE-2020-25694 — postgresql: Reconnection can downgrade connection security settings CVE-2020-25696 — postgresql: psql's \gset allows overwriting specially treated variables

🎯 Affected products17

  • Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-0:12.5-1.el8_0.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-0:12.5-1.el8_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-0:12.5-1.el8_0.src as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-0:12.5-1.el8_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-debuginfo-0:12.5-1.el8_0.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-debuginfo-0:12.5-1.el8_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-debuginfo-0:12.5-1.el8_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-debugsource-0:12.5-1.el8_0.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-debugsource-0:12.5-1.el8_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-debugsource-0:12.5-1.el8_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-devel-0:12.5-1.el8_0.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-devel-0:12.5-1.el8_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-devel-0:12.5-1.el8_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-devel-debuginfo-0:12.5-1.el8_0.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-devel-debuginfo-0:12.5-1.el8_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)
  • libpq-devel-debuginfo-0:12.5-1.el8_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v. 8.0)

✅ 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 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 (5)