<?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 postgresql94</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2016:2464-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2016-10-06T09:50:03Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2016-10-06T09:50:03Z</InitialReleaseDate>
    <CurrentReleaseDate>2016-10-06T09:50:03Z</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 postgresql94</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for postgresql94 to version 9.4.9 fixes the several issues.

These security issues were fixed:
- CVE-2016-5423: CASE/WHEN with inlining can cause untrusted pointer dereference (bsc#993454).
- CVE-2016-5424: Fix client programs' handling of special characters in database and role names (bsc#993453).

This non-security issue was fixed:
- bsc#973660: Added 'Requires: timezone' to Service Pack

For additional non-security issues please refer to
- http://www.postgresql.org/docs/9.4/static/release-9-4-9.html
- http://www.postgresql.org/docs/9.4/static/release-9-4-8.html
- http://www.postgresql.org/docs/9.4/static/release-9-4-7.html

This update was imported from the SUSE:SLE-12:Update update project.</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>
  </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/opensuse-security-announce/2016-10/msg00009.html</URL>
      <Description>E-Mail link for openSUSE-SU-2016:2464-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.1">
      <Branch Type="Product Name" Name="openSUSE Leap 42.1">
        <FullProductName ProductID="openSUSE Leap 42.1">openSUSE Leap 42.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-9.4.9-7.1">
      <FullProductName ProductID="libecpg6-9.4.9-7.1">libecpg6-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-32bit-9.4.9-7.1">
      <FullProductName ProductID="libecpg6-32bit-9.4.9-7.1">libecpg6-32bit-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-9.4.9-7.1">
      <FullProductName ProductID="libpq5-9.4.9-7.1">libpq5-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-32bit-9.4.9-7.1">
      <FullProductName ProductID="libpq5-32bit-9.4.9-7.1">libpq5-32bit-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-9.4.9-7.1">postgresql94-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-contrib-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-contrib-9.4.9-7.1">postgresql94-contrib-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-devel-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-devel-9.4.9-7.1">postgresql94-devel-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-docs-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-docs-9.4.9-7.1">postgresql94-docs-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-libs-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-libs-9.4.9-7.1">postgresql94-libs-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-plperl-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-plperl-9.4.9-7.1">postgresql94-plperl-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-plpython-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-plpython-9.4.9-7.1">postgresql94-plpython-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-pltcl-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-pltcl-9.4.9-7.1">postgresql94-pltcl-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-server-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-server-9.4.9-7.1">postgresql94-server-9.4.9-7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-test-9.4.9-7.1">
      <FullProductName ProductID="postgresql94-test-9.4.9-7.1">postgresql94-test-9.4.9-7.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libecpg6-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libecpg6-9.4.9-7.1">libecpg6-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-32bit-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libecpg6-32bit-9.4.9-7.1">libecpg6-32bit-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libpq5-9.4.9-7.1">libpq5-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libpq5-32bit-9.4.9-7.1">libpq5-32bit-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-9.4.9-7.1">postgresql94-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-contrib-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-contrib-9.4.9-7.1">postgresql94-contrib-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-devel-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-devel-9.4.9-7.1">postgresql94-devel-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-docs-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-docs-9.4.9-7.1">postgresql94-docs-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-libs-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-libs-9.4.9-7.1">postgresql94-libs-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-plperl-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-plperl-9.4.9-7.1">postgresql94-plperl-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-plpython-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-plpython-9.4.9-7.1">postgresql94-plpython-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-pltcl-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-pltcl-9.4.9-7.1">postgresql94-pltcl-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-server-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-server-9.4.9-7.1">postgresql94-server-9.4.9-7.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-test-9.4.9-7.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-test-9.4.9-7.1">postgresql94-test-9.4.9-7.1 as a component of openSUSE Leap 42.1</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 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 allow remote authenticated users to cause a denial of service (NULL pointer dereference and server crash), obtain sensitive memory information, or possibly execute arbitrary code via (1) a CASE expression within the test value subexpression of another CASE or (2) inlining of an SQL function that implements the equality operator used for a CASE expression involving values of different types.</Note>
    </Notes>
    <CVE>CVE-2016-5423</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libecpg6-32bit-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libecpg6-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-32bit-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-contrib-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-devel-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-docs-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-libs-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plperl-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plpython-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-pltcl-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-server-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-test-9.4.9-7.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.5</BaseScore>
        <Vector>AV:N/AC:L/Au:S/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2016-10/msg00009.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-5423.html</URL>
        <Description>CVE-2016-5423</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1041981</URL>
        <Description>SUSE Bug 1041981</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1042497</URL>
        <Description>SUSE Bug 1042497</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1052683</URL>
        <Description>SUSE Bug 1052683</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/993454</URL>
        <Description>SUSE Bug 993454</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 before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.</Note>
    </Notes>
    <CVE>CVE-2016-5424</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libecpg6-32bit-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libecpg6-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-32bit-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-contrib-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-devel-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-docs-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-libs-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plperl-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plpython-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-pltcl-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-server-9.4.9-7.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-test-9.4.9-7.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.6</BaseScore>
        <Vector>AV:L/AC:M/Au:S/C:C/I:C/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2016-10/msg00009.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-5424.html</URL>
        <Description>CVE-2016-5424</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1041981</URL>
        <Description>SUSE Bug 1041981</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1042497</URL>
        <Description>SUSE Bug 1042497</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1052683</URL>
        <Description>SUSE Bug 1052683</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/993453</URL>
        <Description>SUSE Bug 993453</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
