SUSE-SU-2024:0106-1: Security update for postgresql, postgresql15, postgresql16
This update for postgresql, postgresql15, postgresql16 fixes the following issues: This update ships postgresql 16. 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 pgsignalbackend role from signalling background workers and autovacuum processes. The documentation says that pgsignalbackend 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 issuperuser 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) Changes in postgresql16: Upgrade to 16.1:
https://www.postgresql.org/about/news/2715
https://www.postgresql.org/docs/16/release-16.html
https://www.postgresql.org/docs/16/release-16-1.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. Changes in postgresql15: Update to 15.5 https://www.postgresql.org/docs/15/release-15-5.html
The libs and mini package are now provided by postgresql16.
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. Changes in postgresql: Interlock version and release of all noarch packages except for the postgresql-docs. bsc#1122892: Add a sysconfig variable for initdb. Overhaul postgresql-README.SUSE and move it from the binary package to the noarch wrapper package. bsc#1179231: Add an explanation for the /tmp -> /run/postgresql move and permission change. Add postgresql-README as a separate source file. bsc#1209208: Drop hard dependency on systemd bsc#1206796: Refine the distinction of where to use sysusers and use bcond to have the expression only in one place.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
suse/postgresql16-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15to a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16to a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-debugsourceto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/libpq5to a version that resolves this vulnerability.Fixed in 32bit-debuginfo-16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-debugsourceto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/libpq5-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/libpq5to a version that resolves this vulnerability.Fixed in 32bit-16.1-150200.5.7.1 - Upgrade
Upgrade
suse/libpq5to a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresqlto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresqlto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-llvmjitto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-llvmjit-develto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-llvmjit-develto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-llvmjitto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-plpythonto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-testto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-plperlto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-serverto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-server-develto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-develto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-docsto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-pltclto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql-contribto a version that resolves this vulnerability.Fixed in 16-150400.4.9.2 - Upgrade
Upgrade
suse/postgresql15-testto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-llvmjit-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-llvmjit-develto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-llvmjit-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-testto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-llvmjitto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-llvmjitto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-llvmjit-develto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-contribto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-plpython-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-plpythonto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-pltcl-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-server-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql15-server-devel-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-contrib-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-pltclto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-pltcl-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-plpythonto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-plperlto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql15-server-develto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-devel-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-pltclto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-serverto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-server-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-contrib-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql15-serverto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/libecpg6-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-plperl-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql15-plpython-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql15-contribto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-develto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-server-develto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-plperl-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql16-server-devel-debuginfoto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-develto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-plperlto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/libecpg6to a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-devel-debuginfoto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql16-docsto a version that resolves this vulnerability.Fixed in 16.1-150200.5.7.1 - Upgrade
Upgrade
suse/postgresql15-docsto a version that resolves this vulnerability.Fixed in 15.5-150200.5.19.1 - Upgrade
Upgrade
suse/postgresql-contribto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-plpythonto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-server-develto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-serverto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-pltclto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-docsto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-plperlto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-develto a version that resolves this vulnerability.Fixed in 16-150500.10.3.2 - Upgrade
Upgrade
suse/postgresql-serverto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-develto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-docsto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-server-develto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-pltclto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-plpythonto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-plperlto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresql-contribto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
suse/postgresqlto a version that resolves this vulnerability.Fixed in 16-150300.10.18.3 - Upgrade
Upgrade
postgresql15to a version that resolves this vulnerability.Fixed in 15.5 - Upgrade
Upgrade
postgresql16to a version that resolves this vulnerability.Fixed in 16.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Basesystem-15-SP4-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Basesystem-15-SP5-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Legacy-15-SP4-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Legacy-15-SP5-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Server-Applications-15-SP4-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Module-Server-Applications-15-SP5-2024-106=1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch SUSE-SLE-Product-SLES-15-SP3-LTSS-2024-106=1 - Configuration
Change the unix domain socket location from /var/run to /run.
PostgreSQL unix domain socket location = /run