Skip to content
OpenAdvisories
High SUSE-SU-2023:4454-1 3 CVEs

Security update for postgresql12

Published Nov 16, 2023 · Updated Feb 4, 2026

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

ReleasePackageFixed 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

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