Operating System:

[Ubuntu]

Published:

12 November 2021

Protect yourself against future threats.

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

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

                               ESB-2021.3859
                  USN-5145-1: PostgreSQL vulnerabilities
                             12 November 2021

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

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

Product:           PostgreSQL
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Provide Misleading Information -- Remote/Unauthenticated
                   Access Confidential Data       -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-23222 CVE-2021-23214 

Reference:         ESB-2021.3856

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

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

USN-5145-1: PostgreSQL vulnerabilities
11 November 2021

PostgreSQL could allow unintended access to network services.
Releases

  o Ubuntu 21.10
  o Ubuntu 21.04
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS

Packages

  o postgresql-10 - Object-relational SQL database
  o postgresql-12 - Object-relational SQL database
  o postgresql-13 - 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.

Update instructions

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

Ubuntu 21.10

  o postgresql-13 - 13.5-0ubuntu0.21.10.1

Ubuntu 21.04

  o postgresql-13 - 13.5-0ubuntu0.21.04.1

Ubuntu 20.04

  o postgresql-12 - 12.9-0ubuntu0.20.04.1

Ubuntu 18.04

  o postgresql-10 - 10.19-0ubuntu0.18.04.1

This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart PostgreSQL to
make all the necessary changes.

References

  o CVE-2021-23222
  o CVE-2021-23214

- --------------------------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

iQIVAwUBYY2qeeNLKJtyKPYoAQiDZg/+P5ZtksGzOiDlWKSq1TKXdE7Qr2vgSHOi
tL+1BY65bR18NxmpWAkOeIlns5oL3+/4e4U4+4QHBzPKIBLh11ULB0wugLKFSZ1j
fSxMLhwlhlfKR4tcEOZj/JmsqUA2KuAqqmljOBJN21rPB6oXT0usaMvLYJlTOhS1
gRR3U/2XH3KIy6fQJt+1jJnF68OrxLX+TiUWxmd4cdikZ2k9VgMseNaz/NNqbhA+
edR19tjfhMdIQwfTSQvAAEdtKKwF4q4OXlmuB4nRh6JVRrsTzNQ26ffry6NUZEp8
GebNnLTcl/c4zR5J4oBw+jdLu/rxKIfU+0fnjzHG+EOXiBPF2X2TmrHyJ7DdjL5q
A04ewTK1hoHK2ubV/06+cyNw+/IdsRY7ncXu1M8TOl2elL9Wp3xJnhORiLZfafQf
bQplPimOMDtGFJxso4i1SoqHIe0GFH+0t5sdpphasZ6wjpIVO/xXq15C68O2N6X+
3eKVyM3G4gxt42mJBaLv70GBQ6cpj7a7YqTX7WAu8OAOiF7okM6Iz3JpVh3P07XT
/zoxwtcOR+f+kY4ZaZFp8Z19EwaeY8p6uUgBISOZcUgFsFMhxeCeVJZjHlIum4eq
vlVKliOUqCELc5Pzg2uuCgPbe/6CEKo+w3AZpZyKYx1r5fTreVd/B1MrKWu3hGCD
8VEXeTwcICk=
=eUsC
-----END PGP SIGNATURE-----