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

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

                               ESB-2022.2531
                   USN-5440-1: PostgreSQL vulnerability
                                25 May 2022

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

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

Product:           PostgreSQL
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-1552  

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

Comment: CVSS (Max):  8.8 CVE-2022-1552 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: Red Hat
         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-5440-1: PostgreSQL vulnerability
24 May 2022

PostgreSQL could be made to execute commands as the superuser.
Releases

  o Ubuntu 22.04 LTS
  o Ubuntu 21.10
  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
  o postgresql-14 - Object-relational SQL database

Details

Alexander Lakhin discovered that PostgreSQL incorrectly handled the
security restricted operation sandbox when a privileged user is maintaining
another user's objects. An attacker having permission to create non-temp
objects can use this issue to execute arbitrary commands as the superuser.

Update instructions

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

Ubuntu 22.04

  o postgresql-14 - 14.3-0ubuntu0.22.04.1

Ubuntu 21.10

  o postgresql-13 - 13.7-0ubuntu0.21.10.1

Ubuntu 20.04

  o postgresql-12 - 12.11-0ubuntu0.20.04.1

Ubuntu 18.04

  o postgresql-10 - 10.21-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-2022-1552

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

iQIVAwUBYo1wIMkNZI30y1K9AQia+Q/6A7m55vWFMXiGj0nNGnXzyUxLAEXG8DF4
j69pl+rdT6isWvMjgixftVvAe5HAlGnYq9VPYswV85bcCBT6qh4eUcVBQXeYxX0o
bDvJEOStDqMR82h1Kvb8fdfqBG3AGUEkt+YGARNR6p/is3SUUO8208dvy4uRxtr6
235jAzEX/EitUM+iWgccVZNpBlO10oYDp2Ry/GrIazGo1hAWAIecPp66BdVvRo0r
qThSWTBso8nAav2vX+qtrN027sAgp0OhHK1KuAbPagdMdllu4MpSPhFSRNufs7RM
KiVZr1NeVMm7qgOKlUAWu6JA5zvJx2aZ9MzgXjVZTq0zw44aDTroiQ7J4gv0mqkl
aIJFFO6KWizFicFALrvBAl+LQ2C8hF6V+kUbfQqdv3SPOuNMV6ascbFyGhNSk80Q
WLV4fQQ9Pv2F5oPHMfiCcKD6WcJgObFuqXom4Y6Ms0/KCRhQKGNlDrqQLSYhTQbg
Q7axDVrFjz9p3GgOc9I0ES9CY64o5DD4nZ9kt+/cQih2vIdL7PcEX8J3293NClPB
0Zi5HFAtPqKkQfELSRLiymCssoRmiW2qrSeJfJGPLgvwodNmDEpvSKeTc8QZ2Mtc
qXDa9L1HvVv2GODvVRPsm5hkeW3nkevcVjZ11yv9n8dWIJNEYhQmfFvxn9PuBQ3T
I/s8REPdrWc=
=yLIL
-----END PGP SIGNATURE-----