NetSight
mittel5.9

CVE-2026-8328

The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed.

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer aktiv etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.

Betroffene Produkte · Python Software Foundation

ProduktBetroffene Versionen
CPython
vor 3.10.21
ab 3.11.0 vor 3.11.16
ab 3.12.0 vor 3.12.14
ab 3.13.0 vor 3.13.14
ab 3.14.0 vor 3.14.6
ab 3.15.0a1 vor 3.15.0b2

Schwachstellenklasse

Referenzen