5.9
Medium
CVE-2026-8328 The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed
Description
The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv() was patched to replace server-supplied PASV host addresses with the actual peer address (getpeername()[0]), ftpcp() still calls parse227() directly and passes the raw attacker-controllable IP address and port to target.sendport(). This patch is related to CVE-2021-4189.
Affected products and versions
References
- github.com github.com
- github.com github.com
- mail.python.org mail.python.org
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of CPython
The 79 CVEs of CPython →
CVE-2026-116566
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be…
5.3
Medium
CVE-2026-103995
Lenient parsing of integers for response body and chunk framing
2.0
Low
CVE-2026-115557
Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without…
9.4
Critical
CVE-2026-114583
tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like…
6.9
Medium