Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2018 14:24:34 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r463324 - in branches/2018Q1/mail: dovecot dovecot-pigeonhole dovecot/files
Message-ID:  <201803011424.w21EOYb5096998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Thu Mar  1 14:24:34 2018
New Revision: 463324
URL: https://svnweb.freebsd.org/changeset/ports/463324

Log:
  MFH: r463271
  
  Update dovecot to 2.2.34, and bump pigeonhole.
  
   * CVE-2017-15130: TLS SNI config lookups may lead to excessive
     memory usage, causing imap-login/pop3-login VSZ limit to be reached
     and the process restarted. This happens only if Dovecot config has
     local_name { } or local { } configuration blocks and attacker uses
     randomly generated SNI servernames.
   * CVE-2017-14461: Parsing invalid email addresses may cause a crash or
     leak memory contents to attacker. For example, these memory contents
     might contain parts of an email from another user if the same imap
     process is reused for multiple users. First discovered by Aleksandar
     Nikolic of Cisco Talos. Independently also discovered by "flxflndy"
     via HackerOne.
   * CVE-2017-15132: Aborted SASL authentication leaks memory in login
     process.
   * Linux: Core dumping is no longer enabled by default via
     PR_SET_DUMPABLE, because this may allow attackers to bypass
     chroot/group restrictions. Found by cPanel Security Team. Nowadays
     core dumps can be safely enabled by using "sysctl -w
     fs.suid_dumpable=2". If the old behaviour is wanted, it can still be
     enabled by setting:
     import_environment=$import_environment PR_SET_DUMPABLE=1
   * doveconf output now includes the hostname.
  
   + mail_attachment_detection_options setting controls when
     $HasAttachment and $HasNoAttachment keywords are set for mails.
   + imap: Support fetching body snippets using FETCH (SNIPPET) or
     (SNIPPET (LAZY=FUZZY))
   + fs-compress: Automatically detect whether input is compressed or not.
     Prefix the compression algorithm with "maybe-" to enable the
     detection, for example: "compress:maybe-gz:6:..."
   + Added settings to change dovecot.index* files' optimization behavior.
     See https://wiki2.dovecot.org/IndexFiles#Settings
   + Auth cache can now utilize auth workers to do password hash
     verification by setting auth_cache_verify_password_with_worker=yes.
   + Added charset_alias plugin. See
     https://wiki2.dovecot.org/Plugins/CharsetAlias
   + imap_logout_format and pop3_logout_format settings now support all of
     the generic variables (e.g. %{rip}, %{session}, etc.)
   + Added auth_policy_check_before_auth, auth_policy_check_after_auth
     and auth_policy_report_after_auth settings.
   - v2.2.33: doveadm-server: Various fixes related to log handling.
   - v2.2.33: doveadm failed when trying to access UNIX socket that didn't
     require authentication.
   - v2.2.33: doveadm log reopen stopped working
   - v2.2.30+: IMAP stopped advertising SPECIAL-USE capability
   - v2.2.30+: IMAP stopped sending untagged OK/NO storage notifications
   - replication: dsync sends unnecessary replication notification for
     changes it does internally. NOTE: Folder creates, renames, deletes
     and subscribes still trigger unnecessary replication notifications,
     but these should be rather rare.
   - mail_always/never_cache_fields setting changes weren't applied for
     existing dovecot.index.cache files.
   - Fix compiling and other problems with OpenSSL v1.1
   - auth policy: With master user logins, lookup using login username.
   - FTS reindexed all mails unnecessarily after loss of
     dovecot.index.cache file
   - mdbox rebuild repeatedly fails with "missing map extension"
   - SSL connections may have been hanging with imapc or doveadm client.
   - cassandra: Using protocol v3 (Cassandra v2.1) caused memory leaks and
     also timestamps weren't set to queries.
   - fs-crypt silently ignored public/private keys specified in
     configuration (mail_crypt_global_public/private_key) and just
     emitted plaintext output.
   - lock_method=dotlock caused crashes
   - imapc: Reconnection may cause crashes and other errors
  
  Security:	CVE-2017-14461
  Security:	CVE-2017-15130
  Security:	CVE-2017-15132
  
  Approved by:	ports-secteam (delphij), adamw

Deleted:
  branches/2018Q1/mail/dovecot/files/patch-src_doveadm_Makefile.am
  branches/2018Q1/mail/dovecot/files/patch-src_lib-auth_auth-client-request.c
  branches/2018Q1/mail/dovecot/files/patch-src_lib-auth_auth-server-connection.c
  branches/2018Q1/mail/dovecot/files/patch-src_lib-auth_auth-server-connection.h
Modified:
  branches/2018Q1/mail/dovecot-pigeonhole/Makefile
  branches/2018Q1/mail/dovecot/Makefile
  branches/2018Q1/mail/dovecot/distinfo
  branches/2018Q1/mail/dovecot/pkg-plist
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/mail/dovecot-pigeonhole/Makefile
==============================================================================
--- branches/2018Q1/mail/dovecot-pigeonhole/Makefile	Thu Mar  1 13:53:15 2018	(r463323)
+++ branches/2018Q1/mail/dovecot-pigeonhole/Makefile	Thu Mar  1 14:24:34 2018	(r463324)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dovecot-pigeonhole
 PORTVERSION=	0.4.21
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
 DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}

Modified: branches/2018Q1/mail/dovecot/Makefile
==============================================================================
--- branches/2018Q1/mail/dovecot/Makefile	Thu Mar  1 13:53:15 2018	(r463323)
+++ branches/2018Q1/mail/dovecot/Makefile	Thu Mar  1 14:24:34 2018	(r463324)
@@ -12,8 +12,7 @@
 ######################################################################
 
 PORTNAME=	dovecot
-PORTVERSION=	2.2.33.2
-PORTREVISION=	4
+PORTVERSION=	2.2.34
 CATEGORIES=	mail ipv6
 MASTER_SITES=	https://www.dovecot.org/releases/2.2/
 

Modified: branches/2018Q1/mail/dovecot/distinfo
==============================================================================
--- branches/2018Q1/mail/dovecot/distinfo	Thu Mar  1 13:53:15 2018	(r463323)
+++ branches/2018Q1/mail/dovecot/distinfo	Thu Mar  1 14:24:34 2018	(r463324)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1508511506
-SHA256 (dovecot-2.2.33.2.tar.gz) = fe1e3b78609a56ee22fc209077e4b75348fa1bbd54c46f52bde2472a4c4cee84
-SIZE (dovecot-2.2.33.2.tar.gz) = 6131086
+TIMESTAMP = 1519859066
+SHA256 (dovecot-2.2.34.tar.gz) = 5e92a4325409e66b343f6aaa67174b8921ce83d0df792c6eeb0b7b7e2c808353
+SIZE (dovecot-2.2.34.tar.gz) = 6181270

Modified: branches/2018Q1/mail/dovecot/pkg-plist
==============================================================================
--- branches/2018Q1/mail/dovecot/pkg-plist	Thu Mar  1 13:53:15 2018	(r463323)
+++ branches/2018Q1/mail/dovecot/pkg-plist	Thu Mar  1 14:24:34 2018	(r463324)
@@ -76,6 +76,7 @@ include/dovecot/bits.h
 include/dovecot/bsearch-insert-pos.h
 include/dovecot/buffer.h
 include/dovecot/byteorder.h
+include/dovecot/charset-utf8-private.h
 include/dovecot/charset-utf8.h
 include/dovecot/child-wait.h
 include/dovecot/client-common.h
@@ -310,6 +311,7 @@ include/dovecot/istream-seekable.h
 include/dovecot/istream-sized.h
 include/dovecot/istream-tee.h
 include/dovecot/istream-timeout.h
+include/dovecot/istream-try.h
 include/dovecot/istream-unix.h
 include/dovecot/istream-zlib.h
 include/dovecot/istream.h
@@ -622,6 +624,8 @@ lib/dovecot/lib15_notify_plugin.a
 lib/dovecot/lib15_notify_plugin.so
 lib/dovecot/lib20_autocreate_plugin.a
 lib/dovecot/lib20_autocreate_plugin.so
+lib/dovecot/lib20_charset_alias_plugin.a
+lib/dovecot/lib20_charset_alias_plugin.so
 lib/dovecot/lib20_expire_plugin.a
 lib/dovecot/lib20_expire_plugin.so
 lib/dovecot/lib20_fts_plugin.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803011424.w21EOYb5096998>