Summary
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 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)
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.
Fixed packages 20
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | postgresql | 16-150400.4.9.2 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | postgresql15 | 15.5-150200.5.19.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | postgresql16 | 16.1-150200.5.7.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Basesystem 15 SP5 | postgresql | 16-150500.10.3.2 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Basesystem 15 SP5 | postgresql15 | 15.5-150200.5.19.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Basesystem 15 SP5 | postgresql16 | 16.1-150200.5.7.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Legacy 15 SP4 | postgresql | 16-150400.4.9.2 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Legacy 15 SP5 | postgresql | 16-150500.10.3.2 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Package Hub 15 SP4 | postgresql | 16-150400.4.9.2 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Package Hub 15 SP4 | postgresql15 | 15.5-150200.5.19.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Package Hub 15 SP4 | postgresql16 | 16.1-150200.5.7.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Server Applications 15 SP4 | postgresql | 16-150400.4.9.2 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Server Applications 15 SP4 | postgresql15 | 15.5-150200.5.19.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Server Applications 15 SP4 | postgresql16 | 16.1-150200.5.7.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Server Applications 15 SP5 | postgresql | 16-150500.10.3.2 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Server Applications 15 SP5 | postgresql15 | 15.5-150200.5.19.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Server Applications 15 SP5 | postgresql16 | 16.1-150200.5.7.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS | postgresql | 16-150300.10.18.3 |
| SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS | postgresql15 | 15.5-150200.5.19.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS | postgresql16 | 16.1-150200.5.7.1 |
Vulnerabilities 3
-
High 8.8
Postgresql: buffer overrun from integer overflow in array modification
A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification where a remote user c…
-
Medium 4.3
Postgresql: memory disclosure in aggregate function calls
A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type d…
-
Low 2.2
Postgresql: role pg_signal_backend can signal certain superuser processes.
A flaw was found in PostgreSQL involving the pg_cancel_backend role that signals background workers, including the logical replication launcher, autovacuum workers, and the autovacuum launcher. Successful exploitation requires a non-core extension with a less…
References
-
report
https://bugzilla.suse.com/1122892
-
report
https://bugzilla.suse.com/1179231
-
report
https://bugzilla.suse.com/1206796
-
report
https://bugzilla.suse.com/1209208
-
report
https://bugzilla.suse.com/1216022
-
report
https://bugzilla.suse.com/1216734
-
report
https://bugzilla.suse.com/1216960
-
report
https://bugzilla.suse.com/1216961
-
report
https://bugzilla.suse.com/1216962
-
web
https://www.suse.com/security/cve/CVE-2023-5868
-
web
https://www.suse.com/security/cve/CVE-2023-5869
-
web
https://www.suse.com/security/cve/CVE-2023-5870