SUSE-SU-2023:4433-1

Source
https://www.suse.com/support/update/announcement/2023/suse-su-20234433-1/
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2023:4433-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2023:4433-1
Related
Published
2023-11-14T08:34:23Z
Modified
2023-11-14T08:34:23Z
Summary
Security update for postgresql12
Details

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 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 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)

  • Update 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.
References

Affected packages

SUSE:Linux Enterprise Software Development Kit 12 SP5 / postgresql12

Package

Name
postgresql12
Purl
purl:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.17-3.49.1

Ecosystem specific

{
    "binaries": [
        {
            "postgresql12-devel": "12.17-3.49.1",
            "postgresql12-server-devel": "12.17-3.49.1"
        }
    ]
}

SUSE:Linux Enterprise Server 12 SP5 / postgresql12

Package

Name
postgresql12
Purl
purl:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.17-3.49.1

Ecosystem specific

{
    "binaries": [
        {
            "postgresql12-docs": "12.17-3.49.1",
            "postgresql12-plperl": "12.17-3.49.1",
            "postgresql12-server": "12.17-3.49.1",
            "postgresql12-plpython": "12.17-3.49.1",
            "postgresql12-pltcl": "12.17-3.49.1",
            "postgresql12-contrib": "12.17-3.49.1",
            "postgresql12": "12.17-3.49.1"
        }
    ]
}

SUSE:Linux Enterprise Server for SAP Applications 12 SP5 / postgresql12

Package

Name
postgresql12
Purl
purl:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.17-3.49.1

Ecosystem specific

{
    "binaries": [
        {
            "postgresql12-docs": "12.17-3.49.1",
            "postgresql12-plperl": "12.17-3.49.1",
            "postgresql12-server": "12.17-3.49.1",
            "postgresql12-plpython": "12.17-3.49.1",
            "postgresql12-pltcl": "12.17-3.49.1",
            "postgresql12-contrib": "12.17-3.49.1",
            "postgresql12": "12.17-3.49.1"
        }
    ]
}