<?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 sqlite3</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:0973-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-04-17T12:44:32Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-04-17T12:44:32Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-04-17T12:44:32Z</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 sqlite3</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for sqlite3 fixes the following issues:

Security issues fixed: 

- CVE-2018-20506: Fixed an integer overflow when FTS3 extension is enabled (bsc#1131576).    
- CVE-2018-20346: Fixed a remote code execution vulnerability in FTS3 (Magellan) (bsc#1119687).
- CVE-2016-6153: Fixed incorrect permissions when creating temporary files (bsc#987394).	  
</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-973,SUSE-SLE-SERVER-12-2019-973</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-20190973-1/</URL>
      <Description>Link for SUSE-SU-2019:0973-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2019-April/005346.html</URL>
      <Description>E-Mail link for SUSE-SU-2019:0973-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/1119687</URL>
      <Description>SUSE Bug 1119687</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1131576</URL>
      <Description>SUSE Bug 1131576</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/987394</URL>
      <Description>SUSE Bug 987394</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2016-6153/</URL>
      <Description>SUSE CVE CVE-2016-6153 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-20346/</URL>
      <Description>SUSE CVE CVE-2018-20346 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-20506/</URL>
      <Description>SUSE CVE CVE-2018-20506 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12-LTSS">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12-LTSS">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12-LTSS" CPE="cpe:/o:suse:sles-ltss:12">SUSE Linux Enterprise Server 12-LTSS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libsqlite3-0-3.8.3.1-2.7.1">
      <FullProductName ProductID="libsqlite3-0-3.8.3.1-2.7.1">libsqlite3-0-3.8.3.1-2.7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libsqlite3-0-32bit-3.8.3.1-2.7.1">
      <FullProductName ProductID="libsqlite3-0-32bit-3.8.3.1-2.7.1">libsqlite3-0-32bit-3.8.3.1-2.7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libsqlite3-0-64bit-3.8.3.1-2.7.1">
      <FullProductName ProductID="libsqlite3-0-64bit-3.8.3.1-2.7.1">libsqlite3-0-64bit-3.8.3.1-2.7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="sqlite3-3.8.3.1-2.7.1">
      <FullProductName ProductID="sqlite3-3.8.3.1-2.7.1">sqlite3-3.8.3.1-2.7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="sqlite3-devel-3.8.3.1-2.7.1">
      <FullProductName ProductID="sqlite3-devel-3.8.3.1-2.7.1">sqlite3-devel-3.8.3.1-2.7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="sqlite3-doc-3.8.3.1-2.7.1">
      <FullProductName ProductID="sqlite3-doc-3.8.3.1-2.7.1">sqlite3-doc-3.8.3.1-2.7.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libsqlite3-0-3.8.3.1-2.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-3.8.3.1-2.7.1">libsqlite3-0-3.8.3.1-2.7.1 as a component of SUSE Linux Enterprise Server 12-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libsqlite3-0-32bit-3.8.3.1-2.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-32bit-3.8.3.1-2.7.1">libsqlite3-0-32bit-3.8.3.1-2.7.1 as a component of SUSE Linux Enterprise Server 12-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="sqlite3-3.8.3.1-2.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12-LTSS:sqlite3-3.8.3.1-2.7.1">sqlite3-3.8.3.1-2.7.1 as a component of SUSE Linux Enterprise Server 12-LTSS</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">os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm, which might allow local users to obtain sensitive information, cause a denial of service (application crash), or have unspecified other impact by leveraging use of the current working directory for temporary files.</Note>
    </Notes>
    <CVE>CVE-2016-6153</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-3.8.3.1-2.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-32bit-3.8.3.1-2.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:sqlite3-3.8.3.1-2.7.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>3.3</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:P/I:P/A:N</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/2019/suse-su-20190973-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-6153.html</URL>
        <Description>CVE-2016-6153</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1149969</URL>
        <Description>SUSE Bug 1149969</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/987394</URL>
        <Description>SUSE Bug 987394</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">SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries that occur after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases), aka Magellan.</Note>
    </Notes>
    <CVE>CVE-2018-20346</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-3.8.3.1-2.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-32bit-3.8.3.1-2.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:sqlite3-3.8.3.1-2.7.1</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-20190973-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-20346.html</URL>
        <Description>CVE-2018-20346</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1119687</URL>
        <Description>SUSE Bug 1119687</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120335</URL>
        <Description>SUSE Bug 1120335</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1131576</URL>
        <Description>SUSE Bug 1131576</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1131918</URL>
        <Description>SUSE Bug 1131918</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1131919</URL>
        <Description>SUSE Bug 1131919</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1148893</URL>
        <Description>SUSE Bug 1148893</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1169664</URL>
        <Description>SUSE Bug 1169664</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">SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.</Note>
    </Notes>
    <CVE>CVE-2018-20506</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-3.8.3.1-2.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:libsqlite3-0-32bit-3.8.3.1-2.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12-LTSS:sqlite3-3.8.3.1-2.7.1</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-20190973-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-20506.html</URL>
        <Description>CVE-2018-20506</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1131560</URL>
        <Description>SUSE Bug 1131560</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1131576</URL>
        <Description>SUSE Bug 1131576</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
