SUSE 5052 Published by

A postgresql13 security update has been released for openSUSE Leap 15.4/15.5 and SUSE Linux Enterprise.



SUSE-SU-2023:4455-1: important: Security update for postgresql13


# Security update for postgresql13

Announcement ID: SUSE-SU-2023:4455-1
Rating: important
References:

* bsc#1216022
* bsc#1216734
* bsc#1216960
* bsc#1216961
* bsc#1216962

Cross-References:

* CVE-2023-5868
* CVE-2023-5869
* CVE-2023-5870

CVSS scores:

* CVE-2023-5868 ( SUSE ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
* CVE-2023-5869 ( SUSE ): 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
* CVE-2023-5870 ( SUSE ): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products:

* Galera for Ericsson 15 SP5
* Legacy Module 15-SP4
* openSUSE Leap 15.4
* openSUSE Leap 15.5
* SUSE Enterprise Storage 7.1
* SUSE Linux Enterprise High Performance Computing 15 SP2
* SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2
* SUSE Linux Enterprise High Performance Computing 15 SP3
* SUSE Linux Enterprise High Performance Computing 15 SP4
* SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3
* SUSE Linux Enterprise High Performance Computing LTSS 15 SP3
* SUSE Linux Enterprise Server 15 SP2
* SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2
* SUSE Linux Enterprise Server 15 SP3
* SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3
* SUSE Linux Enterprise Server 15 SP4
* SUSE Linux Enterprise Server for SAP Applications 15 SP2
* SUSE Linux Enterprise Server for SAP Applications 15 SP3
* SUSE Linux Enterprise Server for SAP Applications 15 SP4
* SUSE Manager Proxy 4.3
* SUSE Manager Retail Branch Server 4.3
* SUSE Manager Server 4.3

An update that solves three vulnerabilities and has two security fixes can now
be installed.

## Description:

This update for postgresql13 fixes the following issues:

Security issues fixed:

* CVE-2023-5868: Fix handling of unknown-type arguments in DISTINCT "any"
aggregate functions. This error led to a text-type value being interpreted
as an unknown-type value (that is, a zero-terminated string) at runtime.
This could result in disclosure of server memory following the text value.
(bsc#1216962)
* CVE-2023-5869: Detect integer overflow while computing new array dimensions.
When assigning new elements to array subscripts that are outside the current
array bounds, an undetected integer overflow could occur in edge cases.
Memory stomps that are potentially exploitable for arbitrary code execution
are possible, and so is disclosure of server memory. (bsc#1216961)
* CVE-2023-5870: Prevent the pg_signal_backend role from signalling background
workers and autovacuum processes. The documentation says that
pg_signal_backend cannot issue signals to superuser-owned processes. It was
able to signal these background processes, though, because they advertise a
role OID of zero. Treat that as indicating superuser ownership. The security
implications of cancelling one of these process types are fairly small so
far as the core code goes (we'll just start another one), but extensions
might add background workers that are more vulnerable. Also ensure that the
is_superuser parameter is set correctly in such processes. No specific
security consequences are known for that oversight, but it might be
significant for some extensions. (bsc#1216960)

* Updated to 13.13: https://www.postgresql.org/docs/13/release-13-13.html

* Overhaul postgresql-README.SUSE and move it from the binary package to the
noarch wrapper package.

* Change the unix domain socket location from /var/run to /run.

## Patch Instructions:

To install this SUSE 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.4
zypper in -t patch openSUSE-SLE-15.4-2023-4455=1

* openSUSE Leap 15.5
zypper in -t patch openSUSE-SLE-15.5-2023-4455=1

* Legacy Module 15-SP4
zypper in -t patch SUSE-SLE-Module-Legacy-15-SP4-2023-4455=1

* SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2
zypper in -t patch SUSE-SLE-Product-HPC-15-SP2-LTSS-2023-4455=1

* SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3
zypper in -t patch SUSE-SLE-Product-HPC-15-SP3-ESPOS-2023-4455=1

* SUSE Linux Enterprise High Performance Computing LTSS 15 SP3
zypper in -t patch SUSE-SLE-Product-HPC-15-SP3-LTSS-2023-4455=1

* SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2
zypper in -t patch SUSE-SLE-Product-SLES-15-SP2-LTSS-2023-4455=1

* SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3
zypper in -t patch SUSE-SLE-Product-SLES-15-SP3-LTSS-2023-4455=1

* Galera for Ericsson 15 SP5
zypper in -t patch SUSE-SLE-Product-SLES-15-SP5-ERICSSON-2023-4455=1

* SUSE Linux Enterprise Server for SAP Applications 15 SP2
zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP2-2023-4455=1

* SUSE Linux Enterprise Server for SAP Applications 15 SP3
zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP3-2023-4455=1

* SUSE Enterprise Storage 7.1
zypper in -t patch SUSE-Storage-7.1-2023-4455=1

## Package List:

* openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-devel-13.13-150200.5.50.1
* postgresql13-test-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* openSUSE Leap 15.4 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-devel-13.13-150200.5.50.1
* postgresql13-test-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* openSUSE Leap 15.5 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* Legacy Module 15-SP4 (aarch64 ppc64le s390x x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-debuginfo-13.13-150200.5.50.1
* postgresql13-llvmjit-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* Legacy Module 15-SP4 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (aarch64
x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (aarch64
x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (aarch64
x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (aarch64 ppc64le s390x
x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (aarch64 ppc64le s390x
x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* Galera for Ericsson 15 SP5 (x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* Galera for Ericsson 15 SP5 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise Server for SAP Applications 15 SP2 (ppc64le x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise Server for SAP Applications 15 SP2 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Linux Enterprise Server for SAP Applications 15 SP3 (ppc64le x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Linux Enterprise Server for SAP Applications 15 SP3 (noarch)
* postgresql13-docs-13.13-150200.5.50.1
* SUSE Enterprise Storage 7.1 (aarch64 x86_64)
* postgresql13-debugsource-13.13-150200.5.50.1
* postgresql13-pltcl-13.13-150200.5.50.1
* postgresql13-server-debuginfo-13.13-150200.5.50.1
* postgresql13-plpython-13.13-150200.5.50.1
* postgresql13-server-13.13-150200.5.50.1
* postgresql13-13.13-150200.5.50.1
* postgresql13-contrib-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-13.13-150200.5.50.1
* postgresql13-plperl-debuginfo-13.13-150200.5.50.1
* postgresql13-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-server-devel-debuginfo-13.13-150200.5.50.1
* postgresql13-pltcl-debuginfo-13.13-150200.5.50.1
* postgresql13-devel-13.13-150200.5.50.1
* postgresql13-plpython-debuginfo-13.13-150200.5.50.1
* postgresql13-plperl-13.13-150200.5.50.1
* postgresql13-contrib-13.13-150200.5.50.1
* SUSE Enterprise Storage 7.1 (noarch)
* postgresql13-docs-13.13-150200.5.50.1

## References:

* https://www.suse.com/security/cve/CVE-2023-5868.html
* https://www.suse.com/security/cve/CVE-2023-5869.html
* https://www.suse.com/security/cve/CVE-2023-5870.html
* https://bugzilla.suse.com/show_bug.cgi?id=1216022
* https://bugzilla.suse.com/show_bug.cgi?id=1216734
* https://bugzilla.suse.com/show_bug.cgi?id=1216960
* https://bugzilla.suse.com/show_bug.cgi?id=1216961
* https://bugzilla.suse.com/show_bug.cgi?id=1216962