<?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:0578-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2016-02-25T09:42:04Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2016-02-25T09:42:04Z</InitialReleaseDate>
    <CurrentReleaseDate>2016-02-25T09:42:04Z</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 fixes the following issues: 

- Security and bugfix release 9.4.6:
  * *** IMPORTANT ***
    Users of version 9.4 will need to reindex any jsonb_path_ops
    indexes they have created, in order to fix a persistent issue
    with missing index entries.
  * Fix infinite loops and buffer-overrun problems in regular
    expressions (CVE-2016-0773, bsc#966436).
  * Fix regular-expression compiler to handle loops of constraint
    arcs (CVE-2007-4772).
  * Prevent certain PL/Java parameters from being set by
    non-superusers (CVE-2016-0766, bsc#966435).
  * Fix many issues in pg_dump with specific object types
  * Prevent over-eager pushdown of HAVING clauses for
    GROUPING SETS
  * Fix deparsing error with ON CONFLICT ... WHERE clauses
  * Fix tableoid errors for postgres_fdw
  * Prevent floating-point exceptions in pgbench
  * Make \det search Foreign Table names consistently
  * Fix quoting of domain constraint names in pg_dump
  * Prevent putting expanded objects into Const nodes
  * Allow compile of PL/Java on Windows
  * Fix 'unresolved symbol' errors in PL/Python execution
  * Allow Python2 and Python3 to be used in the same database
  * Add support for Python 3.5 in PL/Python
  * Fix issue with subdirectory creation during initdb
  * Make pg_ctl report status correctly on Windows
  * Suppress confusing error when using pg_receivexlog with older
    servers
  * Multiple documentation corrections and additions
  * Fix erroneous hash calculations in gin_extract_jsonb_path()
- For the full release notse, see:
  http://www.postgresql.org/docs/9.4/static/release-9-4-6.html

- PL/Perl still needs to be linked with rpath, so that it can find
  libperl.so at runtime.
  bsc#578053, postgresql-plperl-keep-rpath.patch

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-02/msg00056.html</URL>
      <Description>E-Mail link for openSUSE-SU-2016:0578-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.6-4.1">
      <FullProductName ProductID="libecpg6-9.4.6-4.1">libecpg6-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-32bit-9.4.6-4.1">
      <FullProductName ProductID="libecpg6-32bit-9.4.6-4.1">libecpg6-32bit-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-9.4.6-4.1">
      <FullProductName ProductID="libpq5-9.4.6-4.1">libpq5-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-32bit-9.4.6-4.1">
      <FullProductName ProductID="libpq5-32bit-9.4.6-4.1">libpq5-32bit-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-9.4.6-4.1">postgresql94-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-contrib-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-contrib-9.4.6-4.1">postgresql94-contrib-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-devel-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-devel-9.4.6-4.1">postgresql94-devel-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-docs-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-docs-9.4.6-4.1">postgresql94-docs-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-libs-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-libs-9.4.6-4.1">postgresql94-libs-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-plperl-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-plperl-9.4.6-4.1">postgresql94-plperl-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-plpython-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-plpython-9.4.6-4.1">postgresql94-plpython-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-pltcl-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-pltcl-9.4.6-4.1">postgresql94-pltcl-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-server-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-server-9.4.6-4.1">postgresql94-server-9.4.6-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql94-test-9.4.6-4.1">
      <FullProductName ProductID="postgresql94-test-9.4.6-4.1">postgresql94-test-9.4.6-4.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libecpg6-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libecpg6-9.4.6-4.1">libecpg6-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-32bit-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libecpg6-32bit-9.4.6-4.1">libecpg6-32bit-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libpq5-9.4.6-4.1">libpq5-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libpq5-32bit-9.4.6-4.1">libpq5-32bit-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-9.4.6-4.1">postgresql94-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-contrib-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-contrib-9.4.6-4.1">postgresql94-contrib-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-devel-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-devel-9.4.6-4.1">postgresql94-devel-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-docs-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-docs-9.4.6-4.1">postgresql94-docs-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-libs-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-libs-9.4.6-4.1">postgresql94-libs-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-plperl-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-plperl-9.4.6-4.1">postgresql94-plperl-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-plpython-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-plpython-9.4.6-4.1">postgresql94-plpython-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-pltcl-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-pltcl-9.4.6-4.1">postgresql94-pltcl-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-server-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-server-9.4.6-4.1">postgresql94-server-9.4.6-4.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="postgresql94-test-9.4.6-4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:postgresql94-test-9.4.6-4.1">postgresql94-test-9.4.6-4.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">The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0 before 8.0.15, and 7.4 before 7.4.19, allows context-dependent attackers to cause a denial of service (infinite loop) via a crafted regular expression.</Note>
    </Notes>
    <CVE>CVE-2007-4772</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libecpg6-32bit-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libecpg6-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-32bit-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-contrib-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-devel-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-docs-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-libs-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plperl-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plpython-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-pltcl-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-server-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-test-9.4.6-4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2016-02/msg00056.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2007-4772.html</URL>
        <Description>CVE-2007-4772</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/329282</URL>
        <Description>SUSE Bug 329282</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.20, 9.2.x before 9.2.15, 9.3.x before 9.3.11, 9.4.x before 9.4.6, and 9.5.x before 9.5.1 does not properly restrict access to unspecified custom configuration settings (GUCS) for PL/Java, which allows attackers to gain privileges via unspecified vectors.</Note>
    </Notes>
    <CVE>CVE-2016-0766</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libecpg6-32bit-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libecpg6-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-32bit-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-contrib-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-devel-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-docs-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-libs-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plperl-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plpython-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-pltcl-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-server-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-test-9.4.6-4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/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-02/msg00056.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-0766.html</URL>
        <Description>CVE-2016-0766</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/966435</URL>
        <Description>SUSE Bug 966435</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/966436</URL>
        <Description>SUSE Bug 966436</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/978323</URL>
        <Description>SUSE Bug 978323</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">PostgreSQL before 9.1.20, 9.2.x before 9.2.15, 9.3.x before 9.3.11, 9.4.x before 9.4.6, and 9.5.x before 9.5.1 allows remote attackers to cause a denial of service (infinite loop or buffer overflow and crash) via a large Unicode character range in a regular expression.</Note>
    </Notes>
    <CVE>CVE-2016-0773</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libecpg6-32bit-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libecpg6-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-32bit-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpq5-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-contrib-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-devel-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-docs-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-libs-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plperl-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-plpython-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-pltcl-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-server-9.4.6-4.1</ProductID>
        <ProductID>openSUSE Leap 42.1:postgresql94-test-9.4.6-4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/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-02/msg00056.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-0773.html</URL>
        <Description>CVE-2016-0773</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/966435</URL>
        <Description>SUSE Bug 966435</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/966436</URL>
        <Description>SUSE Bug 966436</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/978323</URL>
        <Description>SUSE Bug 978323</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/983246</URL>
        <Description>SUSE Bug 983246</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/986409</URL>
        <Description>SUSE Bug 986409</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
