HomePythonCVE-2021-4189

CVE-2021-4189

MEDIUM
5.3CVSS
Published: 2022-08-24
Updated: 2025-12-17
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector
network
Complexity
low
Privileges
none
User Action
none
Scope
unchanged
Confidentiality
low
Integrity
none
Availability
none
Weaknesses
CWE-252CWE-252

Metadata

Primary Vendor
PYTHON
Published
8/24/2022
Last Modified
12/17/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

python : pythonpython : pythonpython : pythonpython : pythonpython : pythondebian : debian_linuxdebian : debian_linuxredhat : software_collectionsredhat : enterprise_linuxnetapp : ontap_select_deploy_administration_utility

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2021-4189 | MEDIUM Severity | CVEDatabase.com | CVEDatabase.com