<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">postgresql12-12.18-1.1 on GA media</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2024:13668</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-06-17T21:45:33Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-06-17T21:45:33Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-06-17T21:45:33Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">postgresql12-12.18-1.1 on GA media</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">These are all security issues fixed in the postgresql12-12.18-1.1 package on the GA media of openSUSE Tumbleweed.</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-Tumbleweed-2024-13668</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL/>
      <Description>E-Mail link for openSUSE-SU-2024:13668</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-5868/</URL>
      <Description>SUSE CVE CVE-2023-5868 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-5869/</URL>
      <Description>SUSE CVE CVE-2023-5869 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-5870/</URL>
      <Description>SUSE CVE CVE-2023-5870 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-0985/</URL>
      <Description>SUSE CVE CVE-2024-0985 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Tumbleweed">
      <Branch Type="Product Name" Name="openSUSE Tumbleweed">
        <FullProductName ProductID="openSUSE Tumbleweed" CPE="cpe:/o:opensuse:tumbleweed">openSUSE Tumbleweed</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-12.18-1.1">
      <FullProductName ProductID="postgresql12-12.18-1.1">postgresql12-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-contrib-12.18-1.1">
      <FullProductName ProductID="postgresql12-contrib-12.18-1.1">postgresql12-contrib-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-devel-12.18-1.1">
      <FullProductName ProductID="postgresql12-devel-12.18-1.1">postgresql12-devel-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-docs-12.18-1.1">
      <FullProductName ProductID="postgresql12-docs-12.18-1.1">postgresql12-docs-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-llvmjit-12.18-1.1">
      <FullProductName ProductID="postgresql12-llvmjit-12.18-1.1">postgresql12-llvmjit-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-llvmjit-devel-12.18-1.1">
      <FullProductName ProductID="postgresql12-llvmjit-devel-12.18-1.1">postgresql12-llvmjit-devel-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-plperl-12.18-1.1">
      <FullProductName ProductID="postgresql12-plperl-12.18-1.1">postgresql12-plperl-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-plpython-12.18-1.1">
      <FullProductName ProductID="postgresql12-plpython-12.18-1.1">postgresql12-plpython-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-pltcl-12.18-1.1">
      <FullProductName ProductID="postgresql12-pltcl-12.18-1.1">postgresql12-pltcl-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-server-12.18-1.1">
      <FullProductName ProductID="postgresql12-server-12.18-1.1">postgresql12-server-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-server-devel-12.18-1.1">
      <FullProductName ProductID="postgresql12-server-devel-12.18-1.1">postgresql12-server-devel-12.18-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql12-test-12.18-1.1">
      <FullProductName ProductID="postgresql12-test-12.18-1.1">postgresql12-test-12.18-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="postgresql12-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-12.18-1.1">postgresql12-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-contrib-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-contrib-12.18-1.1">postgresql12-contrib-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-devel-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-devel-12.18-1.1">postgresql12-devel-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-docs-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-docs-12.18-1.1">postgresql12-docs-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-llvmjit-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-llvmjit-12.18-1.1">postgresql12-llvmjit-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-llvmjit-devel-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-llvmjit-devel-12.18-1.1">postgresql12-llvmjit-devel-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-plperl-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-plperl-12.18-1.1">postgresql12-plperl-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-plpython-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-plpython-12.18-1.1">postgresql12-plpython-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-pltcl-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-pltcl-12.18-1.1">postgresql12-pltcl-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-server-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-server-12.18-1.1">postgresql12-server-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-server-devel-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-server-devel-12.18-1.1">postgresql12-server-devel-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql12-test-12.18-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql12-test-12.18-1.1">postgresql12-test-12.18-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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 designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.</Note>
    </Notes>
    <CVE>CVE-2023-5868</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql12-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-contrib-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-docs-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plperl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plpython-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-pltcl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-test-12.18-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-5868.html</URL>
        <Description>CVE-2023-5868</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216962</URL>
        <Description>SUSE Bug 1216962</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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 can trigger the overflow by providing specially crafted data. This enables the execution of arbitrary code on the target system, allowing users to write arbitrary bytes to memory and extensively read the server's memory.</Note>
    </Notes>
    <CVE>CVE-2023-5869</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql12-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-contrib-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-docs-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plperl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plpython-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-pltcl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-test-12.18-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-5869.html</URL>
        <Description>CVE-2023-5869</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216961</URL>
        <Description>SUSE Bug 1216961</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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-resilient background worker and would affect that specific background worker only. This issue may allow a remote high privileged user to launch a denial of service (DoS) attack.</Note>
    </Notes>
    <CVE>CVE-2023-5870</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql12-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-contrib-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-docs-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plperl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plpython-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-pltcl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-test-12.18-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-5870.html</URL>
        <Description>CVE-2023-5870</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216960</URL>
        <Description>SUSE Bug 1216960</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. As part of exploiting this vulnerability, the attacker creates functions that use CREATE RULE to convert the internally-built temporary table to a view. Versions before PostgreSQL 15.6, 14.11, 13.14, and 12.18 are affected. The only known exploit does not work in PostgreSQL 16 and later. For defense in depth, PostgreSQL 16.2 adds the protections that older branches are using to fix their vulnerability.</Note>
    </Notes>
    <CVE>CVE-2024-0985</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql12-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-contrib-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-docs-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-llvmjit-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plperl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-plpython-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-pltcl-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-server-devel-12.18-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql12-test-12.18-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-0985.html</URL>
        <Description>CVE-2024-0985</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219679</URL>
        <Description>SUSE Bug 1219679</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
