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

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

                               ESB-2020.2906
                  USN-4472-1: PostgreSQL vulnerabilities
                              26 August 2020

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

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

Product:           PostgreSQL
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-14350 CVE-2020-14349 

Reference:         ESB-2020.2844
                   ESB-2020.2829

Original Bulletin: 
   https://usn.ubuntu.com/4472-1/

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

USN-4472-1: PostgreSQL vulnerabilities
25 August 2020

Several security issues were fixed in PostgreSQL.
Releases

  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Packages

  o postgresql-10 - Object-relational SQL database
  o postgresql-12 - Object-relational SQL database
  o postgresql-9.5 - Object-relational SQL database

Details

Noah Misch discovered that PostgreSQL incorrectly handled the search_path
setting when used with logical replication. A remote attacker could
possibly use this issue to execute arbitrary SQL code. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14349)

Andres Freund discovered that PostgreSQL incorrectly handled search path
elements in CREATE EXTENSION. A remote attacker could possibly use this
issue to execute arbitrary SQL code. (CVE-2020-14350)

Update instructions

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

Ubuntu 20.04

  o postgresql-12 - 12.4-0ubuntu0.20.04.1

Ubuntu 18.04

  o postgresql-10 - 10.14-0ubuntu0.18.04.1

Ubuntu 16.04

  o postgresql-9.5 - 9.5.23-0ubuntu0.16.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-2020-14349
  o CVE-2020-14350

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

iQIVAwUBX0WuheNLKJtyKPYoAQgQNA/+NH0+gHpq9ILDEi9o/BG2BVyFCgbHOdwI
XBfirZU+7oDa0lwh6GZzc4cCIppFiBdLiI9EgCvDaygfqv0XRz1zVCvTlURmhXzy
YkJA3lq1fqLWCyBVS59AW8btgO1ghDUAz9HQ+LvOTLZQu4WmxvmGnGcYm5QYGxtj
Jzw5yYgBrMlHFi7xojAhi3ZvJsyGbKxwa/gpNFdlHpI8Mmz52Fmw5YKl+t5xhk+m
332V0Au1d7FwaedeOI3DfUvfu93p/R7o1IQpCl4k3oExEcuMQvUfs/+suYCsZ/sL
n/sPuJRBRhDvJGWZqhod/k8Ae8Ji8O7vzyCemnyHu0uNrlNyV5kdIkGHR3ot6DeA
rdT/L5/tZJKL0lYXkO2k1S62Qn2P1OVNKSy/0kiQdc6DZ5mS19VisI/8al9UkLXn
5/Y8buxR6sH9Dcc0FXI5qAQwF0dRX0ieK8sGsu8hHgpDmzVxkUN0z5LxUW3xrTVy
7fHayyXEAGcnMvdqgrxuXWckp46+LKO4RaYDQQzlKVaMhYy3gBBaXmNvwN4qqTEp
u2cQqk91G4AvsEDYPf4bNntj3ahNa74o4BuVYqC65QJ7COeGWjDS8j6DnkoBjfbX
ePljJGezLqVtSVXyk5KJRz46IMF9QfLyvs4MazCIypfUv7gx2oEYKCmVp869RWqY
IFDHKzhX4J8=
=R3QF
-----END PGP SIGNATURE-----