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

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

                               ESB-2019.3042
                  USN-4090-1: PostgreSQL vulnerabilities
                               9 August 2019

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

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

Product:           PostgreSQL
Publisher:         Ubuntu
Operating System:  Ubuntu
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Access Confidential Data        -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-10209 CVE-2019-10208 

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

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Ubuntu. It is recommended that administrators 
         running PostgreSQL check for an updated version of the software for
         their operating system.

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

USN-4090-1: PostgreSQL vulnerabilities
9 August 2019

postgresql-10, postgresql-11, postgresql-9.5 vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 19.04
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Summary

Several security issues were fixed in PostgreSQL.

Software Description

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

Details

Tom Lane discovered that PostgreSQL did not properly restrict functions
declared as "SECURITY DEFINER". An attacker could use this to execute arbitrary
SQL with the permissions of the function owner. (CVE-2019-10208)

Andreas Seltenreich discovered that PostgreSQL did not properly handle
user-defined hash equality operators. An attacker could use this to expose
sensitive information (arbitrary PostgreSQL server memory). This issue only
affected Ubuntu 19.04. (CVE-2019-10209)

Update instructions

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

Ubuntu 19.04
    postgresql-11 - 11.5-0ubuntu0.19.04.1
Ubuntu 18.04 LTS
    postgresql-10 - 10.10-0ubuntu0.18.04.1
Ubuntu 16.04 LTS
    postgresql-9.5 - 9.5.19-0ubuntu0.16.04.1

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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-2019-10208
  o CVE-2019-10209

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

iQIVAwUBXUz79maOgq3Tt24GAQh/ew/8CNe1t6nSUzBJnBEiqklfEFmYqvySSIB6
/1XJhAikS+kVurj4WHcdF+U/6DfR44WJR1cT2pMwSoT8kYZ2uQqISABwiUE8QEyW
SRYwHdUW2kqFxSNFLv3D9QJm0l1nI3bM4MkgLS6jnYYdH2V5zxxUuF8s7crQky4m
KZ160rMUMTroRKB8U/L2yt/oQAWjexIdgXm6K6dG8izc9jQCtJubdDTQebzDGXgP
wXQKYPLYFO3ubOSrmsAuTWwR+2bOtI/PP3iceXlhrA/bDHfPmbL7lOWrYh+Ex1yP
//vmwFEbaAmi8vVfh2ATPBJgOdSk9ldq2hhDxFyn9jOCVd2eU38RrAG1Zin3k/UP
rKc7b5gKT0r0vrBG+nCJd3EpTYCaWVEChZKFPAQpxmUtqvog/1AWHTDgWzWf4pYK
b+sc+gYVSfbQyvQxUW39z3bBJaPCdkFHROR7UeuDVp4d0VwITlqBkibkEmDonuGF
8g/waNXQZ9oos/ziZ4WK13vQJdyskgrpRELnXUBtBVDdFzQGC1qc+Xyjj7VB49KE
F3BlHWBAXzGvq0Kv8O3+K9WqTx8af6H+RC7vpTRXJVg3sBrQlbdaMdvLmw/NGksG
6Ombu9z6gj2hlg0LQlY6QVixLLOiBAVfysehLqFuqt8MSHMVMUpe13g+S/isml54
YzEpidZifAY=
=G2VF
-----END PGP SIGNATURE-----