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

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

                               ESB-2021.1845
                     Security update for postgresql12
                                28 May 2021

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

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

Product:           postgresql12
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
                   CVE-2021-3393  

Reference:         ESB-2021.0789
                   ESB-2021.0672
                   ESB-2021.0561

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

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

SUSE Security Update: Security update for postgresql12

______________________________________________________________________________

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

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

Description:

This update for postgresql12 fixes the following issues:

  o Upgrade to version 12.7:
  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 CVE-2021-3393: Fixed information leakage in constraint-violation error
    messages (bsc#1182040).


  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-1783=1
  o SUSE Linux Enterprise Server 12-SP5:
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2021-1783=1

Package List:

  o SUSE Linux Enterprise Software Development Kit 12-SP5 (aarch64 ppc64le
    s390x x86_64):
       postgresql12-debugsource-12.7-3.15.3
       postgresql12-devel-12.7-3.15.3
       postgresql12-devel-debuginfo-12.7-3.15.3
  o SUSE Linux Enterprise Software Development Kit 12-SP5 (ppc64le s390x
    x86_64):
       postgresql12-server-devel-12.7-3.15.3
       postgresql12-server-devel-debuginfo-12.7-3.15.3
  o SUSE Linux Enterprise Server 12-SP5 (aarch64 ppc64le s390x x86_64):
       postgresql12-12.7-3.15.3
       postgresql12-contrib-12.7-3.15.3
       postgresql12-contrib-debuginfo-12.7-3.15.3
       postgresql12-debuginfo-12.7-3.15.3
       postgresql12-debugsource-12.7-3.15.3
       postgresql12-plperl-12.7-3.15.3
       postgresql12-plperl-debuginfo-12.7-3.15.3
       postgresql12-plpython-12.7-3.15.3
       postgresql12-plpython-debuginfo-12.7-3.15.3
       postgresql12-pltcl-12.7-3.15.3
       postgresql12-pltcl-debuginfo-12.7-3.15.3
       postgresql12-server-12.7-3.15.3
       postgresql12-server-debuginfo-12.7-3.15.3
  o SUSE Linux Enterprise Server 12-SP5 (noarch):
       postgresql12-docs-12.7-3.15.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://www.suse.com/security/cve/CVE-2021-3393.html
  o https://bugzilla.suse.com/1179945
  o https://bugzilla.suse.com/1182040
  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

iQIVAwUBYLBOMeNLKJtyKPYoAQjjiRAAm8yImofXlAcAxx+5zEBb4NXoQTfGveiV
3nTZnTX8HtbfIxlXBl+rUrQvOE28ZFGx209OvTqhM11SPKUMKrq+iMfrOMyUotVD
I9Rc6IKJg5Z6PTO8IkbYivOMbaST8szMggdDd19lRtieqaCkxLM8H+Jljfm4LGzd
HuljeXOfLbOVUA1Wv1nuHRX5Ca8bTxvTlKPqWVo9t7u5+8fySk1IGaaPQuLVJREU
azkwoSO2tTpzlITV188DpjNxovgSQ3w4Q1qn7aGeR4yhSA5ECLj7BF33qa1x0EpF
FLhkpIfvT2rSZnNOgE63xMKp5uh4bgZ4Elg2OhxPFhgzRJRZme/7i4k/9CXoApAj
96o4H5OaL9unTFjCCBOV5zwqvCC70p85RtbtQi4RcEGk+OfOh2pRkJIWwCorp2uf
EQv7WxgrS8McvTLge0Zum5/Kn6dUZa4Ufuf2mjENN4Znn9U4+DtFRDI1lkjPAAL6
hWXCxbuWdr70e5TJtKt5Xg8poJZI2pR6fGJP5HCb8XuiZnsJpTZ+dycMojDBCWD3
CBTc7CIrHefo0nS5+vD9TZo/SE8kyzIWbrObKE8aCynoK3zn0LthsUAF+3Y6937n
80TXDBlu6P+mKpQ5DIxm9IzFU6j1gy1OliNRm565QiLikZT6FTiwnRBa0RPbgT+A
JGLJJIycs8g=
=ki4V
-----END PGP SIGNATURE-----