CVE-2021-4189

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductPython
PublishedAug 24, 2022
First seenAug 24, 2022
Weakness typeCWE-252CWE-252

How to fix

Update
  • python python3.6.14, 3.7.11, 3.8.9, 3.9.3 or later

Affected products

ProductAffected versionsFixed in
python python3.6.0 ≤ v < 3.6.14, 3.7.0 ≤ v < 3.7.11, 3.8.0 ≤ v < 3.8.9, 3.9.0 ≤ v < 3.9.3, 3.10.03.6.14, 3.7.11, 3.8.9, 3.9.3
debian debian_linux10.0, 11.0—
redhat software_collectionsNo range specified—
redhat enterprise_linux8.0—
netapp ontap_select_deploy_administration_utilityNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-4189 · Python · Dark Radar