CVE-2021-4189

Severity: Medium
Published: 2021-12-21

Fix Status by Distribution

Fixed in 12 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-27 18:27 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 10
AlmaLinux 9
Oracle Linux 10
Oracle Linux 9
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 9
Rocky Linux 10
Rocky Linux 9
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode. The issue is how the FTP client trusts the host from the PASV response by default. This flaw allows an attacker to set up a malicious FTP server that can trick FTP clients into connecting back to a given IP address and port. This vulnerability could lead to FTP client scanning ports, which otherwise would not have been possible.

Exploit evidence

No public exploit evidence reported by NVD

Last checked: 2026-11-10 15:25 UTC

  • No exploitation evidence · CISA Coordinator (Assessed 2025-06-25 14:59 UTC)

NVD evidence for CVE-2021-4189 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.