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

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

                               ESB-2020.4517
                           libpq security update
                             22 December 2020

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

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

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

Reference:         ESB-2020.4470
                   ESB-2020.4469
                   ESB-2020.4449
                   ESB-2020.4415

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2020:5638

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

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

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

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

1. Summary:

An update for libpq is now available for Red Hat Enterprise Linux 8.0
Update Services for SAP Solutions.

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 E4S (v. 8.0) - 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#1898225, BZ#1901562)

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 E4S (v. 8.0):

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

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

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

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

x86_64:
libpq-12.5-1.el8_0.i686.rpm
libpq-12.5-1.el8_0.x86_64.rpm
libpq-debuginfo-12.5-1.el8_0.i686.rpm
libpq-debuginfo-12.5-1.el8_0.x86_64.rpm
libpq-debugsource-12.5-1.el8_0.i686.rpm
libpq-debugsource-12.5-1.el8_0.x86_64.rpm
libpq-devel-12.5-1.el8_0.i686.rpm
libpq-devel-12.5-1.el8_0.x86_64.rpm
libpq-devel-debuginfo-12.5-1.el8_0.i686.rpm
libpq-devel-debuginfo-12.5-1.el8_0.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 2020 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBX+B0xtzjgjWX9erEAQgZLQ//RHsiRMvW1wa8uWBgwasTRFI3YxSBt7+3
OjpKsHm5KkTbN51CcGBGY02Ptd0o1EUoPawJtdOiIswVTkSionBrbVbV5g4sIyfL
itiJXKXEnPlxayFUb7TXbwIRbtgeUcqkr72fyn1r64RQL5SIF25kntfwujBw17Ki
iXDoVnQqCf/l06vCJG3g12inAKXW62PG4y+JnHq9XSgXRdDdbunxF+dsSi1nxTba
DPsv4A+d3tveaAlVXH5EY7JM6PlJJQea5CCI57M/J+/vQQE9cH1WS4mIPpba26pn
wNo3wPqh9RFShw7FU9TeK2mpiCo9Z+xNkuYwsvlyoRLLDOzpHvd+j2b6rSd7Hj+F
+ntp8IhQ7ocz/pdR2YSxdordPpyZ5DnHOCLt/iFxEg4YX2Tutxf0q4esiB7gVSOw
l7/Q274yzCBazeOqZBjy8Uw+vPXwmBB1IPqsjK9yGFR5ibDJZ7WcKO576ilbLipM
3+6wR0Nz1nmFrp3T63x4z/OG04yPFFixzzFu7JU60bA+YfvHcyNtgTzThf3Bi9kn
q8nb04UBeRSnnKTMaUv3glkUjO5B5kL2ospuJ7B02tXvKJOfs0XWZsAVUX+ADazr
0y5eH635rsz3r5U51YCj1qPn+bumjY6uDkxYhMKSYSkstcSMHC0aOlCI+EY3ed8L
XD3gCkV4Q6M=
=DL7k
- -----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

iQIVAwUBX+E7z+NLKJtyKPYoAQjJog/9Gr9JNxhNC/80bVEleAUHSd7lAbpFvUIq
04aoSyS8zQ+LjMdV7VkhcDuZTwqyxAbi2XKlnWW3L2e69fiGZB9jsbICC8CTu3GR
pFIuYeFR1z/1VAq6fPcx903B2poFZbJhw+n6cXZCh01j8Zi7L5myUa4z44nYB4qA
+eDw6Vwbr9GHYJkxeaorJuazWykulaOXJ/uKYghHoYeqyfa+oRu4pdWwTrYJ6IWw
Jla/Hfr67XJxf+Y/o5g8qJOg1VhfUQUpsDXWFriCZYKso6ORIJrC36KyY19MOL97
udH4jm0pFkF8V/X/q01S6HnV6aOO14voMkA+Vxb0xqvYi8YJd5S0AvSM9i/izX72
5LKf222XGYgKVZaLw9CVbn55ieXR3l5G1m1TR4FA+Ai5rToRzwZb1wsTHWbXqwJI
p2vzGvZZeugfD8G5ADdsW66Yqo17yRg+FpoaoTh0+mIfKBZanNcNuYYrPTEQRreT
ahDCIp0Nn3DgtzlX8M7/7iAT1t0/fQaO6fiFYrxKgk4H306BHMDiLYad4mwRZ1rM
2dnqwM4elMKmGAFoVNqLp0Cw4oKOAtUQAmW8hy6+u/Uzvm0O/O7T1f23lO9ViTJs
IA+jkTIveM6xAV9Apng/9OKrqZndYugFjVX+S/fB++NLZpcWJUp2IumCs3qiV5H4
hS9zl44uecc=
=WeYe
-----END PGP SIGNATURE-----