ANNOUNCE: The 6.5.0.beta4 snapshot of fetchmail is available (security fix for CVE-2021-36386)

Matthias Andree <[email protected]> Tue, 3 Aug 2021 16:13:18 +0200
Newsgroups gmane.mail.fetchmail.announce
Message-ID <YQlO/[email protected]>
--===============2791813129365657783==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="ZAOLEAyWS4naqwwy"
Content-Disposition: inline


--ZAOLEAyWS4naqwwy
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Greetings,

The 6.5.0.beta4 release of fetchmail is now available at the usual location=
s,
including <https://sourceforge.net/projects/fetchmail/files/branch_6.5/>

The source archive is available at:
<https://sourceforge.net/projects/fetchmail/files/branch_6.5/fetchmail-6.5.=
0.beta4.tar.xz/download>

This is a deep link to the GnuPG signature:
<https://sourceforge.net/projects/fetchmail/files/branch_6.5/fetchmail-6.5.=
0.beta4.tar.xz.asc/download>

This merges the recent 6.4.20 security fix for CVE-2021-36386,=20
with these additional changes:

* 1c214c45 2021-07-07 | mock POP3 test server updates
* 2cc88ec4 2021-06-26 | GitLab CI
* 462b5c38 2021-05-15 | CMakeLists.txt: only compile getopt* if getopt_long=
() missing.
* a6f29dc5 2021-05-13 | Rudimentary unusable attempt at a CMakeLists file.
* c7b820b1 2021-04-26 | fetchmail.man: really bump version to beta3 to matc=
h release.
* 57bd6a92 2021-04-26 | imap.c: correct EXPUNGE count -> EXPUNGE message no.

Here are the release notes:

---------------------------------------------------------------------------=
-----
fetchmail-6.5.0 (not yet released):

## REMOVED FEATURES
* fetchmail no longer supports using an MDA as SMTP fallback. This is requi=
red=20
  to make deliveries consistent.
  The --enable-fallback configure option is gone.
* fetchmail no longer supports SSLv3. --sslproto ssl3 and ssl3+ options have
  been removed and behave as though "--sslproto auto" had been given.

## INCOMPATIBLE CHANGES
* fetchmail by default only negotiates TLS v1.2 or higher. (RFC-7525)
* fetchmail can auto-negotiate TLS v1.1 through the --sslproto tls1.1+ opti=
on.
* fetchmail can auto-negotiate TLS v1.0 through the --sslproto tls1+ option.
* fetchmailconf now requires Python 3.7.0 or newer.
* fetchmail, with --logfile, now logs time stamps into the file, in localti=
me
  and in the format "Jun 20 23:45:01 fetchmail: ". It will be localized thr=
ough
  the environment variables LC_TIME (or LC_ALL) and TZ.
  Contributed by Holger Hoffst=E4tte.
* fetchmail sets the OPENSSL security level to 2 by default.
  Override is possible from an environment variable,
  see EXPERIMENTAL CHANGES below.

## CHANGED REQUIREMENTS
* fetchmail 6.5.0 is written in C99 and requires a SUSv3 (Single Unix
  Specification v3, a superset of POSIX.1-2001 aka. IEEE Std 1003.1-2001 wi=
th
  XSI extension) compliant system.

  In particular, older fetchmail versions had workarounds or replacement co=
de
  for several functions standardized in the Single Unix Specification v3, t=
hese=20
  have been removed. Hence:
  - The trio/ library has been removed from the distribution.
  - The libesmtp/getaddrinfo.? library has been removed from the distributi=
on.
  - The KAME/getnameinfo.c file has been removed from the distribution.

* fetchmail 6.5.0 requires a TLSv1.3-capable version of OpenSSL,
  at a minimum OpenSSL v1.1.1.

## BUG FIXES
* fetchmail can now report mailbox sizes of 2^31 octets and beyond.
  This required C99 support (for the long long type).
  Fixes Debian Bug#873668, reported by Andreas Schmidt.
* fetchmail now defines its OpenSSL API level (1.1.1, or 10101) so
  as to compile with OpenSSL 3.0.0. (fetchmail was requesting to hide
  deprecated APIs.)

## CHANGES
* When fetchmail attempts to log out from an IMAP4 server and the server me=
sses
  up its responses (it is supposed to send an untagged * BYE and a tagged
  A4711 OK) and sends a tagged A4711 BYE response, tolerate that, rather th=
an
  reporting a protocol error. We don't intend to chat any more so the proto=
col
  violation is harmless, and we know the server cannot send more untagged
  status responses.
  Analysis and fix courtesy of Maciej S. Szmigiero, GitLab merge request !2=
0.
* The configure script now spends more effort for getting --with-ssl right,=
 by=20
  running pkg-config in the right environment, and using the AC_LIB_LINKFLA=
GS=20
  macro to obtain run-time library path setting flags.
* For typical POP3/IMAP ports 110, 143, 993, 995, if port and --ssl option
  do not match, emit a warning and continue. Closes Gitlab #31.

## EXPERIMENTAL CHANGES - these are not documented anywhere else, only here:
* fetchmail supports a FETCHMAIL_SSL_SECLEVEL environment variable that
  can be used to override the OpenSSL security level. Fetchmail by default
  raises the security level to 2 if lower. This variable can be used to low=
er it.
  Use with extreme caution. Note that levels 3 or higher will frequently ca=
use
  incompabilities with servers because server-side data sizes are often too=
 low.
  Valid range: 0 to 5 for OpenSSL 1.1.1 and 3.0.0-alpha4.
* fetchmail supports a FETCHMAIL_SSL_CIPHERS environment variable that
  sets the cipher string (through two different OpenSSL functions) for SSL =
and
  TLS versions up to TLSv1.2.
  If setting the ciphers fails, fetchmail will not connect.
  If not given, defaults to Postfix's "medium" list,=20
  "aNULL:-aNULL:HIGH:MEDIUM:+RC4:@STRENGTH".
* fetchmail supports a FETCHMAIL_TLS13_CIPHERSUITES environment variable
  that sets the ciphersuites (a colon-separated list, without + ! -) for
  TLSv1.3. If not given, defaults to OpenSSL's built-in list. If setting th=
e=20
  ciphersuites fails, fetchmail refuses to connect.
* NOTE the features above are simplistic. For instance, even though you=20
  configure --sslproto tls1.3, a failure to set tls1.2 ciphers could cause
  a connection abort.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

--ZAOLEAyWS4naqwwy
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3EplW9mTzUhx+oIQ5BKxVu/zhVoFAmEJTvsACgkQ5BKxVu/z
hVobEw//Sp/WaWNM4OSEjIenjV1T5NskHFi9iyEqaAPKUThfV9r02aeYJXnIrI5M
/5lz4geoLavQjm0F3f+TX9kRL9XtGv0Gjr2wwYntoGQe+kdK4z8CmUQ1m5TRZ707
Anpmt43uUv+UYmVFz1b3jtyFddDGtXEQGsFm5C9N5miOiX0EJgVl7gBFZQi8gH7g
waGef7P+ZDJGo8UsGMc16yZ+4g5A26Zv5D4mnYlX/runxm/xnlTvGYKl4ZGhJ8xt
Ti6E7VvKSaGTIOtBs6CY+kh+STS63gj65k1qnY95QpCdt7VFn3eZP/YqhNtnMZAO
c13YbPNuWkoQA+91ea5+2kUiBw6C5PlNOVeuBF0Pg63OtGIAs4gXYiqcKXAR+a1P
XjL4pgSWcphLff1iTL/IddyMEIABUbaD/pOP7cs3uJJyFuowS4v1MlagnfXzttH4
nP/9ltVfYNEx+c6B1dPtRvx6eJRCKRMUq/XUDG7TelBE2GFA9r+U22Zc3rVnLJez
FI9i3sX9JsKEiES2OAGQvimOEm+832Z+o7IVFu45Av4VJbNMe54sYXDumfRFad0W
U4vxtOC4rmfSHwSSV+BFa7xLWGmuXQiwF4udgu0xMFWCPP6nRME1ssCo3zUD6Csk
yZnuROndV7GmPs0axrxlbdeYI53XRLkSexhJJbYZMf5Oath2SWI=
=OI7z
-----END PGP SIGNATURE-----

--ZAOLEAyWS4naqwwy--


--===============2791813129365657783==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2791813129365657783==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Fetchmail-announce mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-announce

--===============2791813129365657783==--