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

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

                               ESB-2018.2581
                     Security update for postgresql10
                              31 August 2018

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

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

Product:           postgresql10
Publisher:         SUSE
Operating System:  SUSE
Impact/Access:     Increased Privileges   -- Existing Account
                   Access Privileged Data -- Existing Account
                   Denial of Service      -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-10925 CVE-2018-10915 CVE-2018-1115

Reference:         ESB-2018.2527
                   ESB-2018.2526

Original Bulletin: 
   https://www.suse.com/support/update/announcement/2018/suse-su-20182564-1/

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

   SUSE Security Update: Security update for postgresql10
______________________________________________________________________________

Announcement ID:    SUSE-SU-2018:2564-1
Rating:             moderate
References:         #1091610 #1104199 #1104202
Cross-References:   CVE-2018-10915 CVE-2018-10925 CVE-2018-1115

Affected Products:
                    SUSE Linux Enterprise Module for Server Applications 15
                    SUSE Linux Enterprise Module for Basesystem 15
______________________________________________________________________________

   An update that fixes three vulnerabilities is now available.

Description:

   This update for postgresql10 fixes the following issues:

   PostgreSQL 10 was updated to 10.5:

   - https://www.postgresql.org/about/news/1851/
   - https://www.postgresql.org/docs/current/static/release-10-5.html

     A dump/restore is not required for those running 10.X. However, if you
   use the adminpack extension, you should update it as per the first
   changelog entry below. Also, if the function marking mistakes mentioned in
   the second and third changelog entries below affect you, you will want to
   take steps to correct your database catalogs.

   Security issues fixed:

   - CVE-2018-1115: Remove public execute privilege from contrib/adminpack's
     pg_logfile_rotate() function pg_logfile_rotate() is a deprecated wrapper
     for the core function pg_rotate_logfile(). When that function was
     changed to rely on SQL privileges for access control rather than a
     hard-coded superuser check, pg_logfile_rotate() should have been updated
     as well, but the need for this was missed. Hence, if adminpack is
     installed, any user could request a logfile rotation, creating a minor
     security issue. After installing this update, administrators should
     update adminpack by performing ALTER EXTENSION adminpack UPDATE in each
     database in which adminpack is installed (bsc#1091610).
   - CVE-2018-10915: libpq failed to properly reset its internal state
     between connections. If an affected version of libpq was used with
     "host" or "hostaddr" connection parameters from untrusted input,
     attackers could have bypassed client-side connection security features,
     obtain access to higher privileged connections or potentially cause
     other impact SQL injection, by causing the PQescape() functions to
     malfunction (bsc#1104199)
   - CVE-2018-10925: Add missing authorization check on certain statements
     involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with
     "CREATE TABLE" privileges could have exploited this to read arbitrary
     bytes server memory. If the attacker also had certain "INSERT" and
     limited "UPDATE" privileges to a particular table, they could have
     exploited this to update
     other columns in the same table (bsc#1104202).


Patch Instructions:

   To install this SUSE Security Update use the SUSE recommended installation
   methods like YaST online_update or "zypper patch".

   Alternatively you can run the command listed for your product:

   - SUSE Linux Enterprise Module for Server Applications 15:

      zypper in -t patch SUSE-SLE-Module-Server-Applications-15-2018-1799=1

   - SUSE Linux Enterprise Module for Basesystem 15:

      zypper in -t patch SUSE-SLE-Module-Basesystem-15-2018-1799=1



Package List:

   - SUSE Linux Enterprise Module for Server Applications 15 (aarch64 ppc64le
     s390x x86_64):

      libecpg6-10.5-4.5.1
      libecpg6-debuginfo-10.5-4.5.1
      postgresql10-contrib-10.5-4.5.1
      postgresql10-contrib-debuginfo-10.5-4.5.1
      postgresql10-debuginfo-10.5-4.5.1
      postgresql10-debugsource-10.5-4.5.1
      postgresql10-devel-10.5-4.5.1
      postgresql10-devel-debuginfo-10.5-4.5.1
      postgresql10-plperl-10.5-4.5.1
      postgresql10-plperl-debuginfo-10.5-4.5.1
      postgresql10-plpython-10.5-4.5.1
      postgresql10-plpython-debuginfo-10.5-4.5.1
      postgresql10-pltcl-10.5-4.5.1
      postgresql10-pltcl-debuginfo-10.5-4.5.1
      postgresql10-server-10.5-4.5.1
      postgresql10-server-debuginfo-10.5-4.5.1

   - SUSE Linux Enterprise Module for Server Applications 15 (noarch):

      postgresql10-docs-10.5-4.5.1

   - SUSE Linux Enterprise Module for Basesystem 15 (aarch64 ppc64le s390x
     x86_64):

      libpq5-10.5-4.5.1
      libpq5-debuginfo-10.5-4.5.1
      postgresql10-10.5-4.5.1
      postgresql10-debuginfo-10.5-4.5.1
      postgresql10-debugsource-10.5-4.5.1


References:

   https://www.suse.com/security/cve/CVE-2018-10915.html
   https://www.suse.com/security/cve/CVE-2018-10925.html
   https://www.suse.com/security/cve/CVE-2018-1115.html
   https://bugzilla.suse.com/1091610
   https://bugzilla.suse.com/1104199
   https://bugzilla.suse.com/1104202

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

iQIVAwUBW4iXvGaOgq3Tt24GAQgVSg/+JYspCrZSRUI91odPy5rfaVGnlxBxixN+
Lh/wtqZq30e8TPzBaVegaiDK+dlhYHwYfqYVYKq609G7juRsTDEU9kezAh5At2a4
aGBkWRGjnOjjp80JCqfwbvfeJvyZezPrBFX2c1j8IwO2fRzV20nAOP8JPokE6/x+
wLcpKuM+ZCN0L6wyqdiBdgNshwKrDILCy+m0XxxtVhLcsjJhpO09fKn9i6QIcNBc
Rs2cFoLh3DB/Tn1c2PCHyVHKWM06euHIyk3lYqLoKhaKgeUYZUaouCb8WIV0IRnB
Th0acPZJqFlTQ8LhqTrirr01Vgaq1KMGVAV6StGDuBcpp1M8HxEKN8arTdiFdUsY
E0YldathZxdLS4dWQ8LGa/Tue4KshEI2gdpTx/tTpVOhSVOjYvLIBYWutepVbGau
apHE7/qKZ3Z9qY01Tdiy+pPVz/RNUF+lRbkQFWl5Thg/psS4Ztpi6Rw5H9kJwMLb
oB0ic5l7c0Hxpeaf/zOk1HLFCKax/0yXGB9T9GrPbdoJlVHjwpAjMU25KzsMX7LH
KWQQQKUddpze6sqBMyOGD+pnPfi0u6auV7zOs/AtMRANZYNGR7px0N5dY8iZTGEw
EIH+KjiLropbvPuK6ZcJzq4Qc5G8mIAJA+X6skJYH8d21kWR3XMsrJb4dunKAaRX
/E0e9aUSIL8=
=DOij
-----END PGP SIGNATURE-----