VULNERABILITY INTELLIGENCE
CVE-2021-4189
CVSS score5.3 MEDIUM
EPSS probability3.41%
CISA KEVNot currently listed
Published2022-08-24
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Description
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.
Weakness classification
- nvd@nist.gov: CWE-252
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-252
Primary references
- secalert@redhat.com — Third Party Advisory
- secalert@redhat.com — Patch, Vendor Advisory
- secalert@redhat.com — Issue Tracking, Patch, Third Party Advisory
- secalert@redhat.com — Patch, Third Party Advisory
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com — Patch, Third Party Advisory
- secalert@redhat.com — Third Party Advisory
- secalert@redhat.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch, Third Party Advisory