Ubuntu CVE Tracker
UBUNTU-CVE-2026-8328
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.16 (fixed in 3.10.12-1~22.04.16) |
| Ubuntu:Pro:22.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.15 (fixed in 3.12.3-1ubuntu0.15) |
| Ubuntu:25.10 | python3.13 | All versions, no fix listed |
| Ubuntu:25.10 | python3.14 | All versions, no fix listed |
| Ubuntu:26.04:LTS | python3.14 | All versions before 3.14.4-1ubuntu0.1 (fixed in 3.14.4-1ubuntu0.1) |