<?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">Security update for postgresql10</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2019:1810-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-07-10T11:48:07Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-07-10T11:48:07Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-07-10T11:48:07Z</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">Security update for postgresql10</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for postgresql10 fixes the following issues:

Security issue fixed:
- CVE-2019-10164: Fixed buffer-overflow vulnerabilities in SCRAM verifier parsing (bsc#1138034).
- CVE-2019-10130: Prevent row-level security policies from being bypassed via selectivity estimators (bsc#1134689).

Bug fixes:

- For a complete list of fixes check the release notes.
 
   * https://www.postgresql.org/docs/10/release-10-9.html
   * https://www.postgresql.org/docs/10/release-10-8.html
   * https://www.postgresql.org/docs/10/release-10-7.html
</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">SUSE-2019-1810,SUSE-SLE-Module-Basesystem-15-2019-1810,SUSE-SLE-Module-Development-Tools-OBS-15-2019-1810,SUSE-SLE-Module-Packagehub-Subpackages-15-2019-1810,SUSE-SLE-Module-Server-Applications-15-2019-1810</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://www.suse.com/support/update/announcement/2019/suse-su-20191810-1/</URL>
      <Description>Link for SUSE-SU-2019:1810-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2019-July/005689.html</URL>
      <Description>E-Mail link for SUSE-SU-2019:1810-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://bugzilla.suse.com/1134689</URL>
      <Description>SUSE Bug 1134689</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1138034</URL>
      <Description>SUSE Bug 1138034</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-10130/</URL>
      <Description>SUSE CVE CVE-2019-10130 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-10164/</URL>
      <Description>SUSE CVE CVE-2019-10164 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Basesystem 15">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Basesystem 15">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15" CPE="cpe:/o:suse:sle-module-basesystem:15">SUSE Linux Enterprise Module for Basesystem 15</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Package Hub 15">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Package Hub 15">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Package Hub 15" CPE="cpe:/o:suse:packagehub:15">SUSE Linux Enterprise Module for Package Hub 15</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Server Applications 15">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Server Applications 15">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15" CPE="cpe:/o:suse:sle-module-server-applications:15">SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-10.9-4.13.2">
      <FullProductName ProductID="libecpg6-10.9-4.13.2">libecpg6-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-32bit-10.9-4.13.2">
      <FullProductName ProductID="libecpg6-32bit-10.9-4.13.2">libecpg6-32bit-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-64bit-10.9-4.13.2">
      <FullProductName ProductID="libecpg6-64bit-10.9-4.13.2">libecpg6-64bit-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-10.9-4.13.2">
      <FullProductName ProductID="libpq5-10.9-4.13.2">libpq5-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-32bit-10.9-4.13.2">
      <FullProductName ProductID="libpq5-32bit-10.9-4.13.2">libpq5-32bit-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-64bit-10.9-4.13.2">
      <FullProductName ProductID="libpq5-64bit-10.9-4.13.2">libpq5-64bit-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-10.9-4.13.2">postgresql10-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-contrib-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-contrib-10.9-4.13.2">postgresql10-contrib-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-devel-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-devel-10.9-4.13.2">postgresql10-devel-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-docs-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-docs-10.9-4.13.2">postgresql10-docs-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-plperl-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-plperl-10.9-4.13.2">postgresql10-plperl-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-plpython-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-plpython-10.9-4.13.2">postgresql10-plpython-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-pltcl-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-pltcl-10.9-4.13.2">postgresql10-pltcl-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-server-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-server-10.9-4.13.2">postgresql10-server-10.9-4.13.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-test-10.9-4.13.2">
      <FullProductName ProductID="postgresql10-test-10.9-4.13.2">postgresql10-test-10.9-4.13.2</FullProductName>
    </Branch>
    <Relationship ProductReference="libpq5-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15:libpq5-10.9-4.13.2">libpq5-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Basesystem 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15:postgresql10-10.9-4.13.2">postgresql10-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Basesystem 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-test-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Package Hub 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Package Hub 15:postgresql10-test-10.9-4.13.2">postgresql10-test-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:libecpg6-10.9-4.13.2">libecpg6-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-contrib-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-contrib-10.9-4.13.2">postgresql10-contrib-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-devel-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-devel-10.9-4.13.2">postgresql10-devel-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-docs-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-docs-10.9-4.13.2">postgresql10-docs-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-plperl-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-plperl-10.9-4.13.2">postgresql10-plperl-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-plpython-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-plpython-10.9-4.13.2">postgresql10-plpython-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-pltcl-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-pltcl-10.9-4.13.2">postgresql10-pltcl-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-server-10.9-4.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15:postgresql10-server-10.9-4.13.2">postgresql10-server-10.9-4.13.2 as a component of SUSE Linux Enterprise Module for Server Applications 15</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 vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17. PostgreSQL maintains column statistics for tables. Certain statistics, such as histograms and lists of most common values, contain values taken from the column. PostgreSQL does not evaluate row security policies before consulting those statistics during query planning; an attacker can exploit this to read the most common values of certain columns. Affected columns are those for which the attacker has SELECT privilege and for which, in an ordinary query, row-level security prunes the set of rows visible to the attacker.</Note>
    </Notes>
    <CVE>CVE-2019-10130</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15:libpq5-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15:postgresql10-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Package Hub 15:postgresql10-test-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:libecpg6-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-contrib-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-devel-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-docs-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-plperl-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-plpython-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-pltcl-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-server-10.9-4.13.2</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://www.suse.com/support/update/announcement/2019/suse-su-20191810-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-10130.html</URL>
        <Description>CVE-2019-10130</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1134689</URL>
        <Description>SUSE Bug 1134689</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">PostgreSQL versions 10.x before 10.9 and versions 11.x before 11.4 are vulnerable to a stack-based buffer overflow. Any authenticated user can overflow a stack-based buffer by changing the user's own password to a purpose-crafted value. This often suffices to execute arbitrary code as the PostgreSQL operating system account.</Note>
    </Notes>
    <CVE>CVE-2019-10164</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15:libpq5-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15:postgresql10-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Package Hub 15:postgresql10-test-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:libecpg6-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-contrib-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-devel-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-docs-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-plperl-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-plpython-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-pltcl-10.9-4.13.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15:postgresql10-server-10.9-4.13.2</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://www.suse.com/support/update/announcement/2019/suse-su-20191810-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-10164.html</URL>
        <Description>CVE-2019-10164</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1138034</URL>
        <Description>SUSE Bug 1138034</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
