openSUSE Security Update: Security update for postgresql10
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2018:2599-1
Rating:             moderate
References:         #1091610 #1104199 #1104202 
Cross-References:   CVE-2018-10915 CVE-2018-10925 CVE-2018-1115
                   
Affected Products:
                    openSUSE Leap 15.0
______________________________________________________________________________

   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/postgresql-104-969-9513-9418-and-9323-released-1851/
   - https://www.postgresql.org/docs/10/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).

   This update was imported from the SUSE:SLE-15:Update update project.


Patch Instructions:

   To install this openSUSE 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:

   - openSUSE Leap 15.0:

      zypper in -t patch openSUSE-2018-955=1



Package List:

   - openSUSE Leap 15.0 (i586 x86_64):

      libecpg6-10.5-lp150.3.3.1
      libecpg6-debuginfo-10.5-lp150.3.3.1
      libpq5-10.5-lp150.3.3.1
      libpq5-debuginfo-10.5-lp150.3.3.1
      postgresql10-10.5-lp150.3.3.1
      postgresql10-contrib-10.5-lp150.3.3.1
      postgresql10-contrib-debuginfo-10.5-lp150.3.3.1
      postgresql10-debuginfo-10.5-lp150.3.3.1
      postgresql10-debugsource-10.5-lp150.3.3.1
      postgresql10-devel-10.5-lp150.3.3.1
      postgresql10-devel-debuginfo-10.5-lp150.3.3.1
      postgresql10-plperl-10.5-lp150.3.3.1
      postgresql10-plperl-debuginfo-10.5-lp150.3.3.1
      postgresql10-plpython-10.5-lp150.3.3.1
      postgresql10-plpython-debuginfo-10.5-lp150.3.3.1
      postgresql10-pltcl-10.5-lp150.3.3.1
      postgresql10-pltcl-debuginfo-10.5-lp150.3.3.1
      postgresql10-server-10.5-lp150.3.3.1
      postgresql10-server-debuginfo-10.5-lp150.3.3.1
      postgresql10-test-10.5-lp150.3.3.1

   - openSUSE Leap 15.0 (x86_64):

      libecpg6-32bit-10.5-lp150.3.3.1
      libecpg6-32bit-debuginfo-10.5-lp150.3.3.1
      libpq5-32bit-10.5-lp150.3.3.1
      libpq5-32bit-debuginfo-10.5-lp150.3.3.1

   - openSUSE Leap 15.0 (noarch):

      postgresql10-docs-10.5-lp150.3.3.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

-- 

openSUSE: 2018:2599-1: moderate: postgresql10

September 4, 2018
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/postgresql-104-969-9513-9418-and-9323-released-1851/ - https://www.postgresql.org/docs/10/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). This update was imported from the SUSE:SLE-15:Update update project.

 

Patch

Patch Instructions: To install this openSUSE 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: - openSUSE Leap 15.0: zypper in -t patch openSUSE-2018-955=1


Package List

- openSUSE Leap 15.0 (i586 x86_64): libecpg6-10.5-lp150.3.3.1 libecpg6-debuginfo-10.5-lp150.3.3.1 libpq5-10.5-lp150.3.3.1 libpq5-debuginfo-10.5-lp150.3.3.1 postgresql10-10.5-lp150.3.3.1 postgresql10-contrib-10.5-lp150.3.3.1 postgresql10-contrib-debuginfo-10.5-lp150.3.3.1 postgresql10-debuginfo-10.5-lp150.3.3.1 postgresql10-debugsource-10.5-lp150.3.3.1 postgresql10-devel-10.5-lp150.3.3.1 postgresql10-devel-debuginfo-10.5-lp150.3.3.1 postgresql10-plperl-10.5-lp150.3.3.1 postgresql10-plperl-debuginfo-10.5-lp150.3.3.1 postgresql10-plpython-10.5-lp150.3.3.1 postgresql10-plpython-debuginfo-10.5-lp150.3.3.1 postgresql10-pltcl-10.5-lp150.3.3.1 postgresql10-pltcl-debuginfo-10.5-lp150.3.3.1 postgresql10-server-10.5-lp150.3.3.1 postgresql10-server-debuginfo-10.5-lp150.3.3.1 postgresql10-test-10.5-lp150.3.3.1 - openSUSE Leap 15.0 (x86_64): libecpg6-32bit-10.5-lp150.3.3.1 libecpg6-32bit-debuginfo-10.5-lp150.3.3.1 libpq5-32bit-10.5-lp150.3.3.1 libpq5-32bit-debuginfo-10.5-lp150.3.3.1 - openSUSE Leap 15.0 (noarch): postgresql10-docs-10.5-lp150.3.3.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--


Severity
Announcement ID: openSUSE-SU-2018:2599-1
Rating: moderate
Affected Products: openSUSE Leap 15.0

Related News