<?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-2018:3770-2</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-12-12T10:45:26Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-12-12T10:45:26Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-12-12T10:45:26Z</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-2018-16850: Fixed improper quoting of transition table names when pg_dump emits CREATE TRIGGER could have caused privilege escalation (bsc#1114837).

Non-security issues fixed:

- Update to release 10.6:
  * https://www.postgresql.org/docs/current/static/release-10-6.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-SLE-DESKTOP-12-SP4-2018-2662,SUSE-SLE-SDK-12-SP4-2018-2662,SUSE-SLE-SERVER-12-SP4-2018-2662</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/2018/suse-su-20183770-2/</URL>
      <Description>Link for SUSE-SU-2018:3770-2</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-December/004954.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:3770-2</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/1114837</URL>
      <Description>SUSE Bug 1114837</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16850/</URL>
      <Description>SUSE CVE CVE-2018-16850 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4" CPE="cpe:/o:suse:sled:12:sp4">SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4" CPE="cpe:/o:suse:sles:12:sp4">SUSE Linux Enterprise Server 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4" CPE="cpe:/o:suse:sles_sap:12:sp4">SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP4" CPE="cpe:/o:suse:sle-sdk:12:sp4">SUSE Linux Enterprise Software Development Kit 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-10.6-1.6.1">
      <FullProductName ProductID="libecpg6-10.6-1.6.1">libecpg6-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-10.6-1.6.1">
      <FullProductName ProductID="libpq5-10.6-1.6.1">libpq5-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-32bit-10.6-1.6.1">
      <FullProductName ProductID="libpq5-32bit-10.6-1.6.1">libpq5-32bit-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-10.6-1.6.1">
      <FullProductName ProductID="postgresql10-10.6-1.6.1">postgresql10-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-devel-10.6-1.6.1">
      <FullProductName ProductID="postgresql10-devel-10.6-1.6.1">postgresql10-devel-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-contrib-10.6-1.6.1">
      <FullProductName ProductID="postgresql10-contrib-10.6-1.6.1">postgresql10-contrib-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-docs-10.6-1.6.1">
      <FullProductName ProductID="postgresql10-docs-10.6-1.6.1">postgresql10-docs-10.6-1.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql10-server-10.6-1.6.1">
      <FullProductName ProductID="postgresql10-server-10.6-1.6.1">postgresql10-server-10.6-1.6.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libecpg6-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4:libecpg6-10.6-1.6.1">libecpg6-10.6-1.6.1 as a component of SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4:libpq5-10.6-1.6.1">libpq5-10.6-1.6.1 as a component of SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4:libpq5-32bit-10.6-1.6.1">libpq5-32bit-10.6-1.6.1 as a component of SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4:postgresql10-10.6-1.6.1">postgresql10-10.6-1.6.1 as a component of SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:libecpg6-10.6-1.6.1">libecpg6-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:libpq5-10.6-1.6.1">libpq5-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:libpq5-32bit-10.6-1.6.1">libpq5-32bit-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:postgresql10-10.6-1.6.1">postgresql10-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-contrib-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:postgresql10-contrib-10.6-1.6.1">postgresql10-contrib-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-docs-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:postgresql10-docs-10.6-1.6.1">postgresql10-docs-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-server-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:postgresql10-server-10.6-1.6.1">postgresql10-server-10.6-1.6.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:libecpg6-10.6-1.6.1">libecpg6-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:libpq5-10.6-1.6.1">libpq5-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:libpq5-32bit-10.6-1.6.1">libpq5-32bit-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-10.6-1.6.1">postgresql10-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-contrib-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-contrib-10.6-1.6.1">postgresql10-contrib-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-docs-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-docs-10.6-1.6.1">postgresql10-docs-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-server-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-server-10.6-1.6.1">postgresql10-server-10.6-1.6.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql10-devel-10.6-1.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP4:postgresql10-devel-10.6-1.6.1">postgresql10-devel-10.6-1.6.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP4</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">postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.</Note>
    </Notes>
    <CVE>CVE-2018-16850</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:libecpg6-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:libpq5-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:libpq5-32bit-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:postgresql10-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:libecpg6-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:libpq5-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:libpq5-32bit-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:postgresql10-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:postgresql10-contrib-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:postgresql10-docs-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:postgresql10-server-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libecpg6-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libpq5-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libpq5-32bit-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-contrib-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-docs-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:postgresql10-server-10.6-1.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP4:postgresql10-devel-10.6-1.6.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>https://www.suse.com/support/update/announcement/2018/suse-su-20183770-2/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16850.html</URL>
        <Description>CVE-2018-16850</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1114837</URL>
        <Description>SUSE Bug 1114837</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
