ANNOUNCE: The 6.4.21 release of fetchmail is available (regression fix for --logfile from 6.4.20)

Matthias Andree <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <YRFcB7lvOCX4FG86__16734.2923743249$1628527660$gmane$org@ryzen.an3e.de>
Greetings,

The 6.4.21 release of fetchmail is now available at the usual locations,
including <https://sourceforge.net/projects/fetchmail/files/branch_6.4/>.

It contains the security fix for CVE-2021-36386 of 6.4.20, and fixes 
a regression/a bug that causes log message truncation/run-together 
prominently visible with --logfile that was introduced into 6.4.20.

The source archive is available at:
<https://sourceforge.net/projects/fetchmail/files/branch_6.4/fetchmail-6.4.21.tar.xz/download>
<https://sourceforge.net/projects/fetchmail/files/branch_6.4/fetchmail-6.4.21.tar.lz/download>

Detached GnuPG signatures for the respective tarballs are at:
<https://sourceforge.net/projects/fetchmail/files/branch_6.4/fetchmail-6.4.21.tar.xz.asc/download>
<https://sourceforge.net/projects/fetchmail/files/branch_6.4/fetchmail-6.4.21.tar.lz.asc/download>

SHA256 hash values for the tarballs:
SHA256(fetchmail-6.4.21.tar.lz)= 3abbe5f7bb003bdf3b8b71a2edd896fba55cbd3d19d59fe2ff8925fca4983af7
SHA256(fetchmail-6.4.21.tar.xz)= 6a459c1cafd7a1daa5cd137140da60c18c84b5699cd8e7249a79c33342c99d1d

Here are the release notes:

---------------------------------------------------------------------------------
fetchmail-6.4.21 (released 2021-08-09, 30042 LoC):

# REGRESSION FIX:
* The new security fix in 6.4.20 for CVE-2021-36386 caused truncation of
  messages logged to buffered outputs, predominantly --logfile.

  This also caused lines in the logfile to run into one another because
  the fragment containing the '\n' line-end character was usually lost.

  Reason is that on all modern systems (with <stdarg.h> header and vsnprintf()
  interface), the length of log message fragments was added up twice, so
  that these ended too deep into a freshly allocated buffer, after the '\0'
  byte.  Unbuffered outputs flushed the fragments right away, which masked the
  bug.

  Reported by: Jürgen Edner, Erik Christiansen.
--------------------------------------------------------------------------------
fetchmail-6.4.20 (released 2021-07-28, 30042 LoC):

# SECURITY FIX:
* When a log message exceeds c. 2 kByte in size, for instance, with very long 
  header contents, and depending on verbosity option, fetchmail can crash or
  misreport each first log message that requires a buffer reallocation.
  fetchmail then reallocates memory and re-runs vsnprintf() without another 
  call to va_start(), so it reads garbage. The exact impact depends on 
  many factors around the compiler and operating system configurations used and 
  the implementation details of the stdarg.h interfaces of the two functions
  mentioned before. To fix CVE-2021-38386.

  Reported by Christian Herdtweck of Intra2net AG, Tübingen, Germany.
---------------------------------------------------------------------------------

Happy fetches,
Matthias

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3EplW9mTzUhx+oIQ5BKxVu/zhVoFAmERXAQACgkQ5BKxVu/z
hVoa3w//RgjN4AZI1Vkm5qzabtMJy8WDXcEVLRY+3/yPg8wqPcgfJNk83z3eR+cG
B8If8eHGErSl8cUf6nLtjTNOkXUmoCF8nmctnPwsWsVInEQQhs+inoxuXLvZyWEB
K4adWaaavkruKQ+4gBItRXuowGyU3STfg7/YV54XpjS2mDBYb84CIeaBGNjRtbDM
fsXwawX7B7ktyVhXMvfqVUujMtF0NeJ4hnBdYRTsn28ukjBbWLUxAJ3dK9e5PyZ2
YLW8zqs/VPNhNc9dx9yCzcGZkug0Ob8bUu5MdXdRazQ8S+zRf2XJyJV/+KdxU8Bh
+QvYjuYpSu5ZeH4zwqMEK0fSo35+DSmC1mGxfiNFpFCxeQlKabfi1J1PHhYyhpfJ
nPLsmkRW1Jyk2JkNXwO9yMq5oZ1ZHnWCZhR6MF4tzIKa+kzkmE5zC7/h7AvwvZ4s
WyK1Pr6ubAlmpsLh9tGvFGSkkq99kE2+8xLGefU8ln4JhXu3Ec7CrTUw9ZlMIB2y
WHWapd1h2+hjk3/YN21YntJqQ4p8rHpQkreYpm7aB65mp12NTv9EJH0gT3L+hNia
UvqjNPd0w9+tXHKUfaapBEfLJsGcmMEc+QUdeKrXNFTFH1oFioP35/a44q+HAi0a
diTSvJeJgXpEqyRHHiT9kibwJpa9nEpFZKlni1WfUjPSu7nVIaQ=
=Aws7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.