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

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

                               ESB-2022.4837
                  USN-5645-1: PostgreSQL vulnerabilities
                             29 September 2022

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

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

Product:           PostgreSQL
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-32027 CVE-2021-23214 

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-5645-1

Comment: CVSS (Max):  8.8 CVE-2021-32027 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: NVD
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

USN-5645-1: PostgreSQL vulnerabilities
28 September 2022

Several security issues were fixed in PostgreSQL.
Releases

  o Ubuntu 16.04 ESM

Packages

  o postgresql-9.5 - Object-relational SQL database

Details

Jacob Champion discovered that PostgreSQL incorrectly handled SSL
certificate verification and encryption. A remote attacker could possibly
use this issue to inject arbitrary SQL queries when a connection is first
established. ( CVE-2021-23214 )

Tom Lane discovered that PostgreSQL incorrect handled certain array
subscripting calculations. An authenticated attacker could possibly use
this issue to overwrite server memory and escalate privileges.
( CVE-2021-32027 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 16.04

  o postgresql-9.5 - 9.5.25-0ubuntu0.16.04.1+esm1
    Available with UA Infra or UA Desktop

In general, a standard system update will make all the necessary changes.

References

  o CVE-2021-23214
  o CVE-2021-32027

Related notices

  o USN-5145-1 : postgresql-doc-12, libpq-dev, postgresql-plperl-12,
    postgresql-doc-10, libecpg6, postgresql-pltcl-10, postgresql-server-dev-12,
    libecpg-compat3, libecpg-dev, postgresql-plpython3-12, postgresql-pltcl-12,
    postgresql-12, postgresql-server-dev-10, libpgtypes3, postgresql-plperl-10,
    postgresql-doc-13, postgresql-pltcl-13, postgresql-10,
    postgresql-plpython-10, postgresql-client-12, libpq5,
    postgresql-plpython3-13, postgresql-13, postgresql-client-10,
    postgresql-client-13, postgresql-plpython3-10, postgresql-plperl-13,
    postgresql-server-dev-13
  o USN-4972-1 : postgresql-doc-12, libpq-dev, postgresql-plperl-12,
    postgresql-doc-10, libecpg6, postgresql-pltcl-10, postgresql-server-dev-12,
    libecpg-compat3, libecpg-dev, postgresql-plpython3-12, postgresql-pltcl-12,
    postgresql-12, postgresql-server-dev-10, libpgtypes3, postgresql-plperl-10,
    postgresql-doc-13, postgresql-pltcl-13, postgresql-10,
    postgresql-plpython-10, postgresql-client-12, libpq5,
    postgresql-plpython3-13, postgresql-13, postgresql-client-10,
    postgresql-client-13, postgresql-plpython3-10, postgresql-plperl-13,
    postgresql-server-dev-13

- --------------------------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: https://auscert.org.au/gpg-key/

iQIVAwUBYzUIf8kNZI30y1K9AQie/RAAmJ11YEkV/KTuSu6HXHmhq/aWdOk3usgq
R2On4hmCw2qH6dZ+5K6qaQXhq/HgBUC64L6iL8nPbgpxwPJ5Uv4r4XqEK0DChiPA
/cbVBfOSRriQTbWPqefArfjoybr73Z88IBg2Wiy/TScTBoFCbIJzzIonoJKir571
GspioVBbnC1Wgre/uD9h3G6V+YJ195IEC2Mpa1UKNmIeY7bCsK7b5YZGWTsFqDwp
vagKyS6aOvkFRUlP1iCAUPyD/VnxAds7TxyiRTp89lvglEf5AlQLawNkME7a8rUC
X5tpkKQJdwM6vH7vZPXHvLGWSq/80Kz0SXdU/Y2CQh9LdGtNqOfhEkCWLQo7UzM0
R9evdJlwIwYsAdLk1r1Nlq+nH7RiYc65WWBVUSnGFRxIYbu/JxlUYa5F+edTOcV+
EqV702p4Mds69e+whK1fAderv896FANm6gCpQNeOpP+65sieWFFkybHO0e6vkwtu
HCxQDmDaOtUnwY71jJ3qQW5CeRV/K+GFzNfjEkdM7ofOzsdVD+sJzDiUhe+5qW0A
uSKMu/pzrGeD/tt+IqGTN7taVNPJHiO8jWbrBRX3S4zkHxuqSrED1KzaT8ZJBgby
La5vl/0Ilwj6kCQ7ve7ze8aMxWZ6G3Si9KqQvLyqscwW55Dys3Bdn7Ru3wgVyMvo
fxFb8vZPOmg=
=h/WW
-----END PGP SIGNATURE-----