-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: libpq security update
Advisory ID:       RHSA-2021:0057-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2021:0057
Issue date:        2021-01-11
CVE Names:         CVE-2020-25694 CVE-2020-25696 
=====================================================================

1. Summary:

An update for libpq is now available for Red Hat Enterprise Linux 8.2
Extended Update Support.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream EUS (v. 8.2) - aarch64, ppc64le, s390x, x86_64

3. Description:

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#1898227, BZ#1901559)

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.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

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

6. Package List:

Red Hat Enterprise Linux AppStream EUS (v. 8.2):

Source:
libpq-12.5-1.el8_2.src.rpm

aarch64:
libpq-12.5-1.el8_2.aarch64.rpm
libpq-debuginfo-12.5-1.el8_2.aarch64.rpm
libpq-debugsource-12.5-1.el8_2.aarch64.rpm
libpq-devel-12.5-1.el8_2.aarch64.rpm
libpq-devel-debuginfo-12.5-1.el8_2.aarch64.rpm

ppc64le:
libpq-12.5-1.el8_2.ppc64le.rpm
libpq-debuginfo-12.5-1.el8_2.ppc64le.rpm
libpq-debugsource-12.5-1.el8_2.ppc64le.rpm
libpq-devel-12.5-1.el8_2.ppc64le.rpm
libpq-devel-debuginfo-12.5-1.el8_2.ppc64le.rpm

s390x:
libpq-12.5-1.el8_2.s390x.rpm
libpq-debuginfo-12.5-1.el8_2.s390x.rpm
libpq-debugsource-12.5-1.el8_2.s390x.rpm
libpq-devel-12.5-1.el8_2.s390x.rpm
libpq-devel-debuginfo-12.5-1.el8_2.s390x.rpm

x86_64:
libpq-12.5-1.el8_2.i686.rpm
libpq-12.5-1.el8_2.x86_64.rpm
libpq-debuginfo-12.5-1.el8_2.i686.rpm
libpq-debuginfo-12.5-1.el8_2.x86_64.rpm
libpq-debugsource-12.5-1.el8_2.i686.rpm
libpq-debugsource-12.5-1.el8_2.x86_64.rpm
libpq-devel-12.5-1.el8_2.i686.rpm
libpq-devel-12.5-1.el8_2.x86_64.rpm
libpq-devel-debuginfo-12.5-1.el8_2.i686.rpm
libpq-devel-debuginfo-12.5-1.el8_2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2020-25694
https://access.redhat.com/security/cve/CVE-2020-25696
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2021 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBX/wultzjgjWX9erEAQh8VRAAmyolkVnC0SnzTePz+HoBNLdsaG6iDQgP
8JteK+l3y/4hwAgwU7qQL0cKOo+uYuKlIYEGTz/aaYi4OPmQyOFVWcQs68U4E+SW
d50hRnHgmtaTc7YmBK0FDedACUMRS4YNF/r3fbn3TkwGrdSEYxfz4PDH7y1zqFu7
EVFsbjY7x+Q8xJFblXy7/hTKdZekQHVdMM1iE3GFxtCooPdbcLgul5VSyU+0ePJL
ocCm+ID55n8qkESCN5Rm5WXFzpKg45QAp/YXPIs3ZNAgDZsq/87+pVAUtGB80ztc
HWJbzVv3o0KAjsZOLs0NTqkpKYogoB9SLrSh+f5F7SvpvhoMi60s8l7iyDvb4sOY
DL50DrMyT2YSfX9HtIpAQFVeBXfnVyOVofBq2g9dszktxqJ4Ie4b1gUVEC5AyIff
sKXzuLJ890R+c6MIA8yjMH9Rd6JPdzxMnvHDDzvMPwYW5InxWQrFtz+piUG7EdDs
tvAY1J7JnbS95SUIr668AOW26lHQXWCI6v7gmhzMtxqQ+JHjMLqJdhhjvG5EvqS2
hZZsqZ1nRLHL9oZlpmfw+NcWcAZ2D9ZgxrTusdaYYgwZnV/tnQpP+OKImWNRQP26
vUOJYk6IBVmfeMnCpmLiXSpHfPKvmEhD1ui/hB/0/yXDrtToztbvSiGJlHX/WgfZ
W81vtdt5KxI=
=JID3
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhsa-announce