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

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

                               ESB-2021.1844
                     Security update for postgresql13
                                28 May 2021

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

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

Product:           postgresql13
Publisher:         SUSE
Operating System:  SUSE
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Access Confidential Data        -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-32029 CVE-2021-32028 CVE-2021-32027

Reference:         ESB-2021.1658
                   ESB-2021.1643

Original Bulletin: 
   https://www.suse.com/support/update/announcement/2021/suse-su-20211785-1
   https://www.suse.com/support/update/announcement/2021/suse-su-20211784-1

Comment: This bulletin contains two (2) SUSE security advisories.

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

SUSE Security Update: Security update for postgresql13

______________________________________________________________________________

Announcement ID:   SUSE-SU-2021:1785-1
Rating:            moderate
References:        #1179945 #1183118 #1183168 #1185924 #1185925 #1185926
Cross-References:  CVE-2021-32027 CVE-2021-32028 CVE-2021-32029
Affected Products:
                   SUSE Linux Enterprise Module for Server Applications 15-SP3
                   SUSE Linux Enterprise Module for Server Applications 15-SP2
                   SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP2
                   SUSE Linux Enterprise Module for Basesystem 15-SP3
                   SUSE Linux Enterprise Module for Basesystem 15-SP2
______________________________________________________________________________

An update that solves three vulnerabilities and has three fixes is now
available.

Description:

This update for postgresql13 fixes the following issues:

  o Upgrade to version 13.3:
  o CVE-2021-32027: Fixed integer overflows in array subscripting calculations
    (bsc#1185924).
  o CVE-2021-32028: Fixed mishandling of junk columns in INSERT ... ON CONFLICT
    ... UPDATE target lists (bsc#1185925).
  o CVE-2021-32029: Fixed possibly-incorrect computation of UPDATE ...
    RETURNING outputs for joined cross-partition updates (bsc#1185926).


  o Don't use %_stop_on_removal, because it was meant to be private and got
    removed from openSUSE. %_restart_on_update is also private, but still
    supported and needed for now (bsc#1183168).
  o Re-enable build of the llvmjit subpackage on SLE, but it will only be
    delivered on PackageHub for now (bsc#1183118).
  o Disable icu for PostgreSQL 10 (and older) on TW (bsc#1179945).

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:

  o SUSE Linux Enterprise Module for Server Applications 15-SP3:
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP3-2021-1785=1
  o SUSE Linux Enterprise Module for Server Applications 15-SP2:
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP2-2021-1785=1
  o SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP2:
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP2-2021-1785=
    1
  o SUSE Linux Enterprise Module for Basesystem 15-SP3:
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2021-1785=1
  o SUSE Linux Enterprise Module for Basesystem 15-SP2:
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2021-1785=1

Package List:

  o SUSE Linux Enterprise Module for Server Applications 15-SP3 (aarch64
    ppc64le s390x x86_64):
       libecpg6-13.3-5.10.1
       libecpg6-debuginfo-13.3-5.10.1
       postgresql13-contrib-13.3-5.10.1
       postgresql13-contrib-debuginfo-13.3-5.10.1
       postgresql13-debuginfo-13.3-5.10.1
       postgresql13-debugsource-13.3-5.10.1
       postgresql13-devel-13.3-5.10.1
       postgresql13-devel-debuginfo-13.3-5.10.1
       postgresql13-plperl-13.3-5.10.1
       postgresql13-plperl-debuginfo-13.3-5.10.1
       postgresql13-plpython-13.3-5.10.1
       postgresql13-plpython-debuginfo-13.3-5.10.1
       postgresql13-pltcl-13.3-5.10.1
       postgresql13-pltcl-debuginfo-13.3-5.10.1
       postgresql13-server-13.3-5.10.1
       postgresql13-server-debuginfo-13.3-5.10.1
       postgresql13-server-devel-13.3-5.10.1
       postgresql13-server-devel-debuginfo-13.3-5.10.1
  o SUSE Linux Enterprise Module for Server Applications 15-SP3 (noarch):
       postgresql13-docs-13.3-5.10.1
  o SUSE Linux Enterprise Module for Server Applications 15-SP2 (aarch64
    ppc64le s390x x86_64):
       libecpg6-13.3-5.10.1
       libecpg6-debuginfo-13.3-5.10.1
       postgresql13-contrib-13.3-5.10.1
       postgresql13-contrib-debuginfo-13.3-5.10.1
       postgresql13-debuginfo-13.3-5.10.1
       postgresql13-debugsource-13.3-5.10.1
       postgresql13-devel-13.3-5.10.1
       postgresql13-devel-debuginfo-13.3-5.10.1
       postgresql13-plperl-13.3-5.10.1
       postgresql13-plperl-debuginfo-13.3-5.10.1
       postgresql13-plpython-13.3-5.10.1
       postgresql13-plpython-debuginfo-13.3-5.10.1
       postgresql13-pltcl-13.3-5.10.1
       postgresql13-pltcl-debuginfo-13.3-5.10.1
       postgresql13-server-13.3-5.10.1
       postgresql13-server-debuginfo-13.3-5.10.1
       postgresql13-server-devel-13.3-5.10.1
       postgresql13-server-devel-debuginfo-13.3-5.10.1
  o SUSE Linux Enterprise Module for Server Applications 15-SP2 (noarch):
       postgresql13-docs-13.3-5.10.1
  o SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP2 (aarch64
    ppc64le s390x x86_64):
       postgresql13-test-13.3-5.10.1
  o SUSE Linux Enterprise Module for Basesystem 15-SP3 (aarch64 ppc64le s390x
    x86_64):
       libpq5-13.3-5.10.1
       libpq5-debuginfo-13.3-5.10.1
       postgresql13-13.3-5.10.1
       postgresql13-debuginfo-13.3-5.10.1
       postgresql13-debugsource-13.3-5.10.1
  o SUSE Linux Enterprise Module for Basesystem 15-SP2 (aarch64 ppc64le s390x
    x86_64):
       libpq5-13.3-5.10.1
       libpq5-debuginfo-13.3-5.10.1
       postgresql13-13.3-5.10.1
       postgresql13-debuginfo-13.3-5.10.1
       postgresql13-debugsource-13.3-5.10.1
  o SUSE Linux Enterprise Module for Basesystem 15-SP2 (x86_64):
       libpq5-32bit-13.3-5.10.1
       libpq5-32bit-debuginfo-13.3-5.10.1


References:

  o https://www.suse.com/security/cve/CVE-2021-32027.html
  o https://www.suse.com/security/cve/CVE-2021-32028.html
  o https://www.suse.com/security/cve/CVE-2021-32029.html
  o https://bugzilla.suse.com/1179945
  o https://bugzilla.suse.com/1183118
  o https://bugzilla.suse.com/1183168
  o https://bugzilla.suse.com/1185924
  o https://bugzilla.suse.com/1185925
  o https://bugzilla.suse.com/1185926


- -------------------------------------------------------------------------------------------------------------------------------------------------

SUSE Security Update: Security update for postgresql13

______________________________________________________________________________

Announcement ID:   SUSE-SU-2021:1784-1
Rating:            moderate
References:        #1179945 #1183118 #1183168 #1185924 #1185925 #1185926
Cross-References:  CVE-2021-32027 CVE-2021-32028 CVE-2021-32029
Affected Products:
                   SUSE Linux Enterprise Software Development Kit 12-SP5
                   SUSE Linux Enterprise Server 12-SP5
______________________________________________________________________________

An update that solves three vulnerabilities and has three fixes is now
available.

Description:

This update for postgresql13 fixes the following issues:

  o Upgrade to version 13.3:
  o CVE-2021-32027: Fixed integer overflows in array subscripting calculations
    (bsc#1185924).
  o CVE-2021-32028: Fixed mishandling of junk columns in INSERT ... ON CONFLICT
    ... UPDATE target lists (bsc#1185925).
  o CVE-2021-32029: Fixed possibly-incorrect computation of UPDATE ...
    RETURNING "pg_psql_temporary_savepoint" does not exist (bsc#1185926).


  o Don't use %_stop_on_removal, because it was meant to be private and got
    removed from openSUSE. %_restart_on_update is also private, but still
    supported and needed for now (bsc#1183168).
  o Re-enable build of the llvmjit subpackage on SLE, but it will only be
    delivered on PackageHub for now (bsc#1183118).
  o Disable icu for PostgreSQL 10 (and older) on TW (bsc#1179945).

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:

  o SUSE Linux Enterprise Software Development Kit 12-SP5:
    zypper in -t patch SUSE-SLE-SDK-12-SP5-2021-1784=1
  o SUSE Linux Enterprise Server 12-SP5:
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2021-1784=1

Package List:

  o SUSE Linux Enterprise Software Development Kit 12-SP5 (aarch64 ppc64le
    s390x x86_64):
       postgresql13-debugsource-13.3-3.9.2
       postgresql13-debugsource-13.3-3.9.3
       postgresql13-devel-13.3-3.9.3
       postgresql13-devel-debuginfo-13.3-3.9.3
  o SUSE Linux Enterprise Software Development Kit 12-SP5 (ppc64le s390x
    x86_64):
       postgresql13-server-devel-13.3-3.9.3
       postgresql13-server-devel-debuginfo-13.3-3.9.3
  o SUSE Linux Enterprise Server 12-SP5 (aarch64 ppc64le s390x x86_64):
       libecpg6-13.3-3.9.3
       libecpg6-debuginfo-13.3-3.9.3
       libpq5-13.3-3.9.3
       libpq5-debuginfo-13.3-3.9.3
       postgresql13-13.3-3.9.3
       postgresql13-contrib-13.3-3.9.3
       postgresql13-contrib-debuginfo-13.3-3.9.3
       postgresql13-debuginfo-13.3-3.9.3
       postgresql13-debugsource-13.3-3.9.2
       postgresql13-debugsource-13.3-3.9.3
       postgresql13-plperl-13.3-3.9.3
       postgresql13-plperl-debuginfo-13.3-3.9.3
       postgresql13-plpython-13.3-3.9.3
       postgresql13-plpython-debuginfo-13.3-3.9.3
       postgresql13-pltcl-13.3-3.9.3
       postgresql13-pltcl-debuginfo-13.3-3.9.3
       postgresql13-server-13.3-3.9.3
       postgresql13-server-debuginfo-13.3-3.9.3
  o SUSE Linux Enterprise Server 12-SP5 (s390x x86_64):
       libpq5-32bit-13.3-3.9.3
       libpq5-debuginfo-32bit-13.3-3.9.3
  o SUSE Linux Enterprise Server 12-SP5 (noarch):
       postgresql13-docs-13.3-3.9.3


References:

  o https://www.suse.com/security/cve/CVE-2021-32027.html
  o https://www.suse.com/security/cve/CVE-2021-32028.html
  o https://www.suse.com/security/cve/CVE-2021-32029.html
  o https://bugzilla.suse.com/1179945
  o https://bugzilla.suse.com/1183118
  o https://bugzilla.suse.com/1183168
  o https://bugzilla.suse.com/1185924
  o https://bugzilla.suse.com/1185925
  o https://bugzilla.suse.com/1185926

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

iQIVAwUBYLBN4+NLKJtyKPYoAQhQHg/8D3I5QC8CORuqqARTrzxGXsPnCv2CrTYC
XHPG6T88IIuA4RQk3qHRrhufNm0gjgd/iJDYYx0dUTZJG4zUlyO1ez3oNCdhE6yn
vwpbcsqjY5RKtFJakb+IRr5+b3U31xHbMyqfBNpEu7r5wuIwZWyIeXrtYvP/CEU1
EzEQbTDKq+tvnemPHdZR1bh+zIqDGsoyy5wsOtYg7dBanAIbn6Q8cs0HIiLH2Zx8
th8n1c75GzRDn7JEPFnSfwjWJ81mtnMjL+wcQ0VOwqSvOidllaHSetFLXc8wUEl6
tpK9xewanB2+qqlQ9CYNcW1IeevBoEHSOIoHJMTMnhiop8gAufDFPIjvJK6Z9nRK
wOPmWWOELRbZR7bNUhL/QgnVU33hHqI+VxEHNfcAoCGgAfTDONTcuK5VVsSZZ4ID
AYk4LveKPmGGtJT92U+9fH2ClDRAv+ZE+dP8ymX54II5cb+otx3GZ28RbDZ0Efu1
fd73fpuwLbOnFl3uHlGw16WQfhUAFNh0KEHuzqzkUNynDpz4XGl5AZGGAyN+b3Cp
9WqIcU8rJ0hYjHVxe2a/cG4okNde4TidR/jIMl8iJ704boxkSBt5BhcAC87YvI8B
SaZ7LRjuj0fu7tEV3R2jV9M+Sie4qfTiQ42Pp1AGQpYpdcYjHtu/jAPkixEjDptS
8ROHct+RlgM=
=efUm
-----END PGP SIGNATURE-----