8000 [3.8] bpo-43285: Whats New entry for 3.8.9. (GH-24889) · python/cpython@9eda0df · GitHub
[go: up one dir, main page]

Skip to content

Commit 9eda0df

Browse files
authored
[3.8] bpo-43285: Whats New entry for 3.8.9. (GH-24889)
Covers the ftplib security fix.
1 parent 664d1d1 commit 9eda0df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,3 +2264,12 @@ separator key, with ``&`` as the default. This change also affects
22642264
functions internally. For more details, please see their respective
22652265
documentation.
22662266
(Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.)
2267+
2268+
Notable changes in Python 3.8.9
2269+
===============================
2270+
2271+
A security fix alters the :class:`ftplib.FTP` behavior to not trust the
2272+
IPv4 address sent from the remote server when setting up a passive data
2273+
channel. We reuse the ftp server IP address instead. For unusual code
2274+
requiring the old behavior, set a ``trust_server_pasv_ipv4_address``
2275+
attribute on your FTP instance to ``True``. (See :issue:`43285`)

0 commit comments

Comments
 (0)
0