RHSA-2021:0057HighCVSS 8.1
Red Hat Security Advisory: libpq security update
🔗 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 products27
- Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-0:12.5-1.el8_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-0:12.5-1.el8_2.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-0:12.5-1.el8_2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-0:12.5-1.el8_2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-0:12.5-1.el8_2.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-0:12.5-1.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debuginfo-0:12.5-1.el8_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debuginfo-0:12.5-1.el8_2.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debuginfo-0:12.5-1.el8_2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debuginfo-0:12.5-1.el8_2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debuginfo-0:12.5-1.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debugsource-0:12.5-1.el8_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debugsource-0:12.5-1.el8_2.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debugsource-0:12.5-1.el8_2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debugsource-0:12.5-1.el8_2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-debugsource-0:12.5-1.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-0:12.5-1.el8_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-0:12.5-1.el8_2.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-0:12.5-1.el8_2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-0:12.5-1.el8_2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-0:12.5-1.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-debuginfo-0:12.5-1.el8_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-debuginfo-0:12.5-1.el8_2.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-debuginfo-0:12.5-1.el8_2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-debuginfo-0:12.5-1.el8_2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
- libpq-devel-debuginfo-0:12.5-1.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)
✅ 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)
- selfhttps://access.redhat.com/errata/RHSA-2021:0057
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1894423
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1894430
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0057.json