Summary
This update for postgresql12 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 12.17: https://www.postgresql.org/docs/12/release-12-17.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.
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Enterprise Storage 7.1 | postgresql12 | 12.17-150200.8.54.1 |
| openSUSE · Leap 15.4 | postgresql12 | 12.17-150200.8.54.1 |
| openSUSE · Leap 15.5 | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-ESPOS | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | postgresql12 | 12.17-150200.8.54.1 |
| SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 | postgresql12 | 12.17-150200.8.54.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/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