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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.0211
                           libpq security update
                              19 January 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           libpq
Publisher:         Red Hat
Operating System:  Red Hat
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Access Confidential Data        -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-25696 CVE-2020-25694 

Reference:         ESB-2021.0104

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2021:0165

- --------------------------BEGIN INCLUDED TEXT--------------------

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

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

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

1. Summary:

An update for libpq is now available for Red Hat Enterprise Linux 8.1
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.1) - 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#1898226, BZ#1901561)

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.1):

Source:
libpq-12.5-2.el8_1.src.rpm

aarch64:
libpq-12.5-2.el8_1.aarch64.rpm
libpq-debuginfo-12.5-2.el8_1.aarch64.rpm
libpq-debugsource-12.5-2.el8_1.aarch64.rpm
libpq-devel-12.5-2.el8_1.aarch64.rpm
libpq-devel-debuginfo-12.5-2.el8_1.aarch64.rpm

ppc64le:
libpq-12.5-2.el8_1.ppc64le.rpm
libpq-debuginfo-12.5-2.el8_1.ppc64le.rpm
libpq-debugsource-12.5-2.el8_1.ppc64le.rpm
libpq-devel-12.5-2.el8_1.ppc64le.rpm
libpq-devel-debuginfo-12.5-2.el8_1.ppc64le.rpm

s390x:
libpq-12.5-2.el8_1.s390x.rpm
libpq-debuginfo-12.5-2.el8_1.s390x.rpm
libpq-debugsource-12.5-2.el8_1.s390x.rpm
libpq-devel-12.5-2.el8_1.s390x.rpm
libpq-devel-debuginfo-12.5-2.el8_1.s390x.rpm

x86_64:
libpq-12.5-2.el8_1.i686.rpm
libpq-12.5-2.el8_1.x86_64.rpm
libpq-debuginfo-12.5-2.el8_1.i686.rpm
libpq-debuginfo-12.5-2.el8_1.x86_64.rpm
libpq-debugsource-12.5-2.el8_1.i686.rpm
libpq-debugsource-12.5-2.el8_1.x86_64.rpm
libpq-devel-12.5-2.el8_1.i686.rpm
libpq-devel-12.5-2.el8_1.x86_64.rpm
libpq-devel-debuginfo-12.5-2.el8_1.i686.rpm
libpq-devel-debuginfo-12.5-2.el8_1.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 <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

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

iQIVAwUBYAW0UtzjgjWX9erEAQh7EA/5AUbtRFm32TkzpCi/OrR+vP6+etLmc2ZK
U8pU42Vbf46SvPjCQNJ5BYkVOdiDEl9ykYybJkpJ3nWMfz0z0PVf9j8HhobBjCzB
goM2n53g8W3IJI9KrN3eoeHUb6UEXSvnTAp5hI7/uWU2fUy1VEclz5BdGU4t/xbC
EBfhVlAc1xm48OP5hlIU7BSqfUwpbSNTG6ZC6Tz+NKDYy1mHHF9RW+B92zvi/OXp
ewpC/LPjJ6o3qV6Bd0jUMWZpBbHpJC1uk8HBFLaTQK6SIF7h4YOI81e/dTINlDJ5
i1c74gPjUDei2ydUbMy8AVaWxAYN5nI1g8ANOLvxRoLC2aVNUvKUiCNNadKUNyP0
UUA506oLYXoRD7TYq85lZlwQ3E1xPmm878A/4yl4y682jWQ19s4r7b8JFRajCrEm
zW5nTRFELpqw5s/0unTBk9j1V8vjQPPyHWDE1vzTZoPgVhYauIl2IInx8gVOaeVg
IlD9cFMzwn7LzyvTE8lKBL7ysLzFow1D301AGYBltHCJya6Z3Io5i5UdjUMnZBmP
rwf86j0mVTLRAbI00GIwtAkSw+A1uL+DlZVxtMtXTAnocq1TysDXSERfBr+RBHFw
5rOjQs19W8Qm5kq0NjJE0JU4FAUbYQ/y7N9Wt2mE+P6lqvs1SE0rUsJlmIDvkKj8
OAYsEh2rGL4=
=DSfP
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYAYJfuNLKJtyKPYoAQiiGg/+NwcTGnjIJMZMmH/5GYg/MZ60StNhQrSt
xknFOs+T6cpMYVwgAxicvAGuRrbiXJaULj8Cwr4S51oEwvnqL9On7l7BsXrA3c3m
jyol3pucYkUQXOAXRqvaqWaqR7GbmS5MxCVk1GW6xTKqoimRhq2TIZlrJ0CvkjE9
El/4vrLAOCW7ebg3wmyM8oEcFtf0kkPvq2qzXQZwnza2Da3GMG3d1dW0v6/Wwye4
MdF4b2/Ea3O/XuGotqTLN2VbpGg5PJSf7YLTS8S+o03MeOYQAt8Ih/JA1iIRnSjB
XkvkMh8UnRn7ynLRnfHIaLWTww/+xOfZZ6BHTu8+dT/UCXqfVKZLPZ0ttnvEI5IT
kp61NxUGf5UZOkgC+cRWbuA2VWS6xJw7V4eaP0ggBqpXs8bq+G70OmLMZNIbQ3rb
7qZlP6WbdjDtuFrvYDMZbF9d4ObxXTPZuxjeuTXJYw+lqtBC53tPYBcDEzKiuNAt
XwvOGg9l0VejhMEny12eoHkVnnGy7SRlT5/Qe6MqVNL04wd8VP75uGjRpm3GxFlZ
ASUfCJI5ibxJmCaJQj/Hyk1f2jq5m1BhxPLIPTXJvxLzFmMEhdS3Joz65z3qifug
EoUlaz227LFmzA4ocLSwxNHNLofNlzsCkOiYSZrWViBPWCS7iDqk0hcv6+8Mm/08
fAzFF77ct/g=
=ymbO
-----END PGP SIGNATURE-----