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

This security issue was fixed:

- CVE-2017-2669: Don't double-expand %variables in keys. If dict was used as the authentication passdb, using specially crafted %variables in the username could be used to cause DoS (bsc#1032248)

Additionally stronger SSL default ciphers are now used.

This non-security issue was fixed:

- Remove all references /etc/ssl/certs/. It should not be used anymore (bsc#932386)

The version 2.2.30.2 also includes many fixes and enhancements:

- Multiple failed authentications within short time caused crashes.
- Use timing safe comparisons for everything related to passwords.
- Master process now sends SIGQUIT to all running children at shutdown, which instructs
  them to close all the socket listeners immediately. Restarting Dovecot should no longer
  fail due to some processes keeping the listeners open for a long time.
- Add passdb { mechanisms=none } to match separate passdb lookup.
- Add passdb { username_filter } to use passdb only if user matches the filter.
- Add dsync_commit_msgs_interval setting. It attempts to commit the transaction after
  saving this many new messages.
- Support imapc_features=search without ESEARCH extension.
- Add imapc_features=fetch-bodystructure to pass through remote server's FETCH BODY and
  BODYSTRUCTURE.
- Add quota=imapc backend to use GETQUOTA/GETQUOTAROOT on the remote server.
- Add allow_invalid_cert and ssl_ca_file parameters.
- If dovecot.index.cache corruption is detected, reset only the one corrupted mail instead
  of the whole file.
- Add 'firstsaved' field to doveadm mailbox status.
- Add old host's up/down and vhost count as parameters to director_flush_socket.
- More fixes to automatically fix corruption in dovecot.list.index.
- Fix support for dsync_features=empty-header-workaround.
- IMAP NOTIFY wasn't working for non-INBOX if IMAP client hadn't enabled modseq tracking
  via CONDSTORE/QRESYNC.
- Fix fts-lucene it to work again with mbox format.
- Some internal error messages may have contained garbage in v2.2.29.
- Re-encrypt when copying/moving mails and per-mailbox keys are used, otherwise the copied
  mails can't be opened.

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-updates/2017-07/msg00036.html</URL>
      <Description>E-Mail link for openSUSE-SU-2017:1807-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.2">
      <Branch Type="Product Name" Name="openSUSE Leap 42.2">
        <FullProductName ProductID="openSUSE Leap 42.2">openSUSE Leap 42.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-2.2.30.2-5.4.1">dovecot22-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-backend-mysql-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-backend-mysql-2.2.30.2-5.4.1">dovecot22-backend-mysql-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-backend-pgsql-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-backend-pgsql-2.2.30.2-5.4.1">dovecot22-backend-pgsql-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-backend-sqlite-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-backend-sqlite-2.2.30.2-5.4.1">dovecot22-backend-sqlite-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-devel-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-devel-2.2.30.2-5.4.1">dovecot22-devel-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-fts-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-fts-2.2.30.2-5.4.1">dovecot22-fts-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-fts-lucene-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-fts-lucene-2.2.30.2-5.4.1">dovecot22-fts-lucene-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-fts-solr-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-fts-solr-2.2.30.2-5.4.1">dovecot22-fts-solr-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="dovecot22-fts-squat-2.2.30.2-5.4.1">
      <FullProductName ProductID="dovecot22-fts-squat-2.2.30.2-5.4.1">dovecot22-fts-squat-2.2.30.2-5.4.1</FullProductName>
    </Branch>
    <Relationship ProductReference="dovecot22-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-2.2.30.2-5.4.1">dovecot22-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-backend-mysql-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-backend-mysql-2.2.30.2-5.4.1">dovecot22-backend-mysql-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-backend-pgsql-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-backend-pgsql-2.2.30.2-5.4.1">dovecot22-backend-pgsql-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-backend-sqlite-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-backend-sqlite-2.2.30.2-5.4.1">dovecot22-backend-sqlite-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-devel-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-devel-2.2.30.2-5.4.1">dovecot22-devel-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-fts-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-fts-2.2.30.2-5.4.1">dovecot22-fts-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-fts-lucene-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-fts-lucene-2.2.30.2-5.4.1">dovecot22-fts-lucene-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-fts-solr-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-fts-solr-2.2.30.2-5.4.1">dovecot22-fts-solr-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="dovecot22-fts-squat-2.2.30.2-5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:dovecot22-fts-squat-2.2.30.2-5.4.1">dovecot22-fts-squat-2.2.30.2-5.4.1 as a component of openSUSE Leap 42.2</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">Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage causing the process to crash (and restart), or excessive CPU usage causing all authentications to hang.</Note>
    </Notes>
    <CVE>CVE-2017-2669</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:dovecot22-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-backend-mysql-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-backend-pgsql-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-backend-sqlite-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-devel-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-fts-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-fts-lucene-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-fts-solr-2.2.30.2-5.4.1</ProductID>
        <ProductID>openSUSE Leap 42.2:dovecot22-fts-squat-2.2.30.2-5.4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.4</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:N/I:N/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-updates/2017-07/msg00036.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-2669.html</URL>
        <Description>CVE-2017-2669</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1032248</URL>
        <Description>SUSE Bug 1032248</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
