Bug 2477300 (CVE-2026-8328) - CVE-2026-8328 python: Python: FTP connection redirection via ftpcp() function bypass
Summary: CVE-2026-8328 python: Python: FTP connection redirection via ftpcp() function...
Keywords:
Status: NEW
Alias: CVE-2026-8328
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-13 21:01 UTC by OSIDB Bzimport
Modified: 2026-09-18 13:41 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-13 21:01:43 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.