]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] bpo-43285: Whats New entry for 3.8.9. (GH-24889)
authorGregory P. Smith <greg@krypto.org>
Tue, 16 Mar 2021 04:38:24 +0000 (21:38 -0700)
committerGitHub <noreply@github.com>
Tue, 16 Mar 2021 04:38:24 +0000 (21:38 -0700)
Covers the ftplib security fix.

Doc/whatsnew/3.8.rst

index 632ccc1f2c40ad135e254124d07d9847354944a2..d4a9ee707f5a70398a83fd410c934523771481a7 100644 (file)
@@ -2264,3 +2264,12 @@ separator key, with ``&`` as the default.  This change also affects
 functions internally. For more details, please see their respective
 documentation.
 (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.)
+
+Notable changes in Python 3.8.9
+===============================
+
+A security fix alters the :class:`ftplib.FTP` behavior to not trust the
+IPv4 address sent from the remote server when setting up a passive data
+channel.  We reuse the ftp server IP address instead.  For unusual code
+requiring the old behavior, set a ``trust_server_pasv_ipv4_address``
+attribute on your FTP instance to ``True``.  (See :issue:`43285`)