RHSA-2020:5401: Important: libpq security update

Published Dec 14, 2020
·
Updated

The libpq package provides the PostgreSQL client library, which allows client programs to connect to PostgreSQL servers. The following packages have been upgraded to a later upstream version: libpq (12.5). (BZ#1898228, BZ#1901558)Security Fix(es): postgresql: Reconnection can downgrade connection security settings (CVE-2020-25694) postgresql: psql's \gset allows overwriting specially treated variables (CVE-2020-25696) 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.

Affected Software

20 affected componentsFixes available
redhat/libpq<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-debuginfo<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-debuginfo<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-debugsource<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-debugsource<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-devel<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-devel<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-devel-debuginfo<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-devel-debuginfo<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-debuginfo<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-debugsource<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-devel<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq-devel-debuginfo<12.5-1.el8_3
12.5-1.el8_3
redhat/libpq<12.5-1.el8_3.aa
12.5-1.el8_3.aa
redhat/libpq-debuginfo<12.5-1.el8_3.aa
12.5-1.el8_3.aa
redhat/libpq-debugsource<12.5-1.el8_3.aa
12.5-1.el8_3.aa
redhat/libpq-devel<12.5-1.el8_3.aa
12.5-1.el8_3.aa
redhat/libpq-devel-debuginfo<12.5-1.el8_3.aa
12.5-1.el8_3.aa

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libpq to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3
  2. Upgrade

    Upgrade redhat/libpq-debuginfo to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3
  3. Upgrade

    Upgrade redhat/libpq-debugsource to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3
  4. Upgrade

    Upgrade redhat/libpq-devel to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3
  5. Upgrade

    Upgrade redhat/libpq-devel-debuginfo to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3
  6. Upgrade

    Upgrade redhat/libpq to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3.aa
  7. Upgrade

    Upgrade redhat/libpq-debuginfo to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3.aa
  8. Upgrade

    Upgrade redhat/libpq-debugsource to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3.aa
  9. Upgrade

    Upgrade redhat/libpq-devel to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3.aa
  10. Upgrade

    Upgrade redhat/libpq-devel-debuginfo to a version that resolves this vulnerability.

    Fixed in 12.5-1.el8_3.aa
  11. Upgrade

    Upgrade libpq to a version that resolves this vulnerability.

    Fixed in 12.5Patch BZ#1898228
  12. Upgrade

    Upgrade postgresql to a version that resolves this vulnerability.

    Patch BZ#1901558

Event History

Apr 21, 2026
Advisory Published
via Red Hat·02:32 PM
Data Sourced
via Red Hat·02:32 PM
RemedyDescriptionAffected Software

Frequently Asked Questions

1

What is the severity of RHSA-2020:5401?

The severity of RHSA-2020:5401 is categorized as important due to a security vulnerability in the PostgreSQL client library.

2

How do I fix RHSA-2020:5401?

To fix RHSA-2020:5401, upgrade the libpq package to version 12.5-1.el8_3 or later.

3

What packages are affected by RHSA-2020:5401?

The affected packages include libpq, libpq-devel, libpq-debuginfo, and libpq-debugsource.

4

Is there a workaround for RHSA-2020:5401?

There are no officially recommended workarounds for RHSA-2020:5401; the best approach is to apply the patch.

5

When was RHSA-2020:5401 released?

RHSA-2020:5401 was released on December 8, 2020.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203