<?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 couchdb</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:2578-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-08-31T12:16:30Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-08-31T12:16:30Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-08-31T12:16:30Z</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 couchdb</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for couchdb to 1.7.2 fixes the following security issues:

- CVE-2018-8007: Apache CouchDB administrative users can configure the database
  server via HTTP(S). Due to insufficient validation of administrator-supplied
  configuration settings via the HTTP API, it was possible for a CouchDB
  administrator user to escalate their privileges to that of the operating
  system's user that CouchDB runs under, by bypassing the blacklist of
  configuration settings that are not allowed to be modified via the HTTP API
  (bsc#1100973).
- CVE-2017-12636: CouchDB administrative users can configure the database
  server via HTTP(S). Some of the configuration options include paths for
  operating system-level binaries that are subsequently launched by CouchDB. This
  allowed an admin user in Apache CouchDB to execute arbitrary shell commands as
  the CouchDB user (bsc#1068386).
</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-OpenStack-Cloud-7-2018-1807,SUSE-Storage-4-2018-1807</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-20182578-1/</URL>
      <Description>Link for SUSE-SU-2018:2578-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-August/004523.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:2578-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/1068386</URL>
      <Description>SUSE Bug 1068386</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1100973</URL>
      <Description>SUSE Bug 1100973</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-12636/</URL>
      <Description>SUSE CVE CVE-2017-12636 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-8007/</URL>
      <Description>SUSE CVE CVE-2018-8007 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Enterprise Storage 4">
      <Branch Type="Product Name" Name="SUSE Enterprise Storage 4">
        <FullProductName ProductID="SUSE Enterprise Storage 4" CPE="cpe:/o:suse:ses:4">SUSE Enterprise Storage 4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 7">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 7">
        <FullProductName ProductID="SUSE OpenStack Cloud 7" CPE="cpe:/o:suse:suse-openstack-cloud:7">SUSE OpenStack Cloud 7</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="couchdb-1.7.2-2.8.2">
      <FullProductName ProductID="couchdb-1.7.2-2.8.2">couchdb-1.7.2-2.8.2</FullProductName>
    </Branch>
    <Relationship ProductReference="couchdb-1.7.2-2.8.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Enterprise Storage 4">
      <FullProductName ProductID="SUSE Enterprise Storage 4:couchdb-1.7.2-2.8.2">couchdb-1.7.2-2.8.2 as a component of SUSE Enterprise Storage 4</FullProductName>
    </Relationship>
    <Relationship ProductReference="couchdb-1.7.2-2.8.2" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 7">
      <FullProductName ProductID="SUSE OpenStack Cloud 7:couchdb-1.7.2-2.8.2">couchdb-1.7.2-2.8.2 as a component of SUSE OpenStack Cloud 7</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">CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.</Note>
    </Notes>
    <CVE>CVE-2017-12636</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:couchdb-1.7.2-2.8.2</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:couchdb-1.7.2-2.8.2</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.5</BaseScore>
        <Vector>AV:N/AC:L/Au:S/C:P/I:P/A:P</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>9</BaseScore>
        <Vector>AV:N/AC:L/Au:S/C:C/I:C/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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-20182578-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-12636.html</URL>
        <Description>CVE-2017-12636</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1068386</URL>
        <Description>SUSE Bug 1068386</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1100973</URL>
        <Description>SUSE Bug 1100973</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1104204</URL>
        <Description>SUSE Bug 1104204</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1119720</URL>
        <Description>SUSE Bug 1119720</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">Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user that CouchDB runs under, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows an existing CouchDB admin user to gain arbitrary remote code execution, bypassing already disclosed CVE-2017-12636. Mitigation: All users should upgrade to CouchDB releases 1.7.2 or 2.1.2.</Note>
    </Notes>
    <CVE>CVE-2018-8007</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:couchdb-1.7.2-2.8.2</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:couchdb-1.7.2-2.8.2</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>9</BaseScore>
        <Vector>AV:N/AC:L/Au:S/C:C/I:C/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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-20182578-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-8007.html</URL>
        <Description>CVE-2018-8007</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1100973</URL>
        <Description>SUSE Bug 1100973</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1104204</URL>
        <Description>SUSE Bug 1104204</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1119720</URL>
        <Description>SUSE Bug 1119720</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
