<?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">postgresql13-13.17-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:14502-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-11-15T00:00:00Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-11-15T00:00:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-11-15T00:00:00Z</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">postgresql13-13.17-1.1 on GA media</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">These are all security issues fixed in the postgresql13-13.17-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-14502</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>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AKWDFN2C7BDHNEIL7UAMUE2QLH322LIK/</URL>
      <Description>E-Mail link for openSUSE-SU-2024:14502-1</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-2024-10976/</URL>
      <Description>SUSE CVE CVE-2024-10976 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-10977/</URL>
      <Description>SUSE CVE CVE-2024-10977 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-10978/</URL>
      <Description>SUSE CVE CVE-2024-10978 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-10979/</URL>
      <Description>SUSE CVE CVE-2024-10979 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="postgresql13-13.17-1.1">
      <FullProductName ProductID="postgresql13-13.17-1.1">postgresql13-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-contrib-13.17-1.1">
      <FullProductName ProductID="postgresql13-contrib-13.17-1.1">postgresql13-contrib-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-devel-13.17-1.1">
      <FullProductName ProductID="postgresql13-devel-13.17-1.1">postgresql13-devel-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-docs-13.17-1.1">
      <FullProductName ProductID="postgresql13-docs-13.17-1.1">postgresql13-docs-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-llvmjit-13.17-1.1">
      <FullProductName ProductID="postgresql13-llvmjit-13.17-1.1">postgresql13-llvmjit-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-llvmjit-devel-13.17-1.1">
      <FullProductName ProductID="postgresql13-llvmjit-devel-13.17-1.1">postgresql13-llvmjit-devel-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-plperl-13.17-1.1">
      <FullProductName ProductID="postgresql13-plperl-13.17-1.1">postgresql13-plperl-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-plpython-13.17-1.1">
      <FullProductName ProductID="postgresql13-plpython-13.17-1.1">postgresql13-plpython-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-pltcl-13.17-1.1">
      <FullProductName ProductID="postgresql13-pltcl-13.17-1.1">postgresql13-pltcl-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-server-13.17-1.1">
      <FullProductName ProductID="postgresql13-server-13.17-1.1">postgresql13-server-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-server-devel-13.17-1.1">
      <FullProductName ProductID="postgresql13-server-devel-13.17-1.1">postgresql13-server-devel-13.17-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql13-test-13.17-1.1">
      <FullProductName ProductID="postgresql13-test-13.17-1.1">postgresql13-test-13.17-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="postgresql13-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-13.17-1.1">postgresql13-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-contrib-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-contrib-13.17-1.1">postgresql13-contrib-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-devel-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-devel-13.17-1.1">postgresql13-devel-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-docs-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-docs-13.17-1.1">postgresql13-docs-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-llvmjit-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-llvmjit-13.17-1.1">postgresql13-llvmjit-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-llvmjit-devel-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-llvmjit-devel-13.17-1.1">postgresql13-llvmjit-devel-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-plperl-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-plperl-13.17-1.1">postgresql13-plperl-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-plpython-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-plpython-13.17-1.1">postgresql13-plpython-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-pltcl-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-pltcl-13.17-1.1">postgresql13-pltcl-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-server-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-server-13.17-1.1">postgresql13-server-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-server-devel-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-server-devel-13.17-1.1">postgresql13-server-devel-13.17-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql13-test-13.17-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:postgresql13-test-13.17-1.1">postgresql13-test-13.17-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">Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended.  CVE-2023-2455 and CVE-2016-2193 fixed most interaction between row security and user ID changes.  They missed cases where a subquery, WITH query, security invoker view, or SQL-language function references a table with a row-level security policy.  This has the same consequences as the two earlier CVEs.  That is to say, it leads to potentially incorrect policies being applied in cases where role-specific policies are used and a given query is planned under one role and then executed under other roles.  This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs.  Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications.  This affects only databases that have used CREATE POLICY to define a row security policy.  An attacker must tailor an attack to a particular application's pattern of query plan reuse, user ID changes, and role-specific row security policies.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.</Note>
    </Notes>
    <CVE>CVE-2024-10976</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql13-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-contrib-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-docs-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plperl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plpython-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-pltcl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-test-13.17-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>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AKWDFN2C7BDHNEIL7UAMUE2QLH322LIK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-10976.html</URL>
        <Description>CVE-2024-10976</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1233323</URL>
        <Description>SUSE Bug 1233323</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">Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application.  For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results.  This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.</Note>
    </Notes>
    <CVE>CVE-2024-10977</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql13-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-contrib-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-docs-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plperl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plpython-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-pltcl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-test-13.17-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AKWDFN2C7BDHNEIL7UAMUE2QLH322LIK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-10977.html</URL>
        <Description>CVE-2024-10977</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1233325</URL>
        <Description>SUSE Bug 1233325</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">Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended.  An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature.  The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker.  If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION.  The attacker does not control which incorrect user ID applies.  Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.</Note>
    </Notes>
    <CVE>CVE-2024-10978</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql13-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-contrib-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-docs-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plperl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plpython-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-pltcl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-test-13.17-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>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AKWDFN2C7BDHNEIL7UAMUE2QLH322LIK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-10978.html</URL>
        <Description>CVE-2024-10978</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1233326</URL>
        <Description>SUSE Bug 1233326</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">Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH).  That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.</Note>
    </Notes>
    <CVE>CVE-2024-10979</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:postgresql13-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-contrib-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-docs-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-llvmjit-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plperl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-plpython-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-pltcl-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-server-devel-13.17-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:postgresql13-test-13.17-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>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AKWDFN2C7BDHNEIL7UAMUE2QLH322LIK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-10979.html</URL>
        <Description>CVE-2024-10979</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1233327</URL>
        <Description>SUSE Bug 1233327</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
