CVE-2021-4189 Details
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.
View at NVD
Exploit prediction scoring system (EPSS) score for CVE-2021-4189
EPSS (Exploit Prediction Scoring System): EPSS predicts the likelihood that a vulnerability will be exploited in the wild. A higher percentage means a greater chance of an exploit occurring. The EPSS model produces a probability score between 0 and 1 (0 and 100%).
3.41 Probability of exploitation activity being observed over the next 30 days (89th percentile)
CVSS score for CVE-2021-4189
CVSS (Common Vulnerability Scoring System): An open framework owned and managed by FIRST.Org, Inc. that assigns a numerical score from 0 to 10 to software vulnerabilities to indicate their severity.
5.3 Medium
Products affected by CVE-2021-4189

CVE-2021-4189 Global Footprint

Top 10 Identified Countries

Country Observations Percentage
CN 13,012 30.91%
US 11,951 28.39%
DE 2,018 4.79%
SG 1,776 4.22%
FR 1,238 2.94%
HK 1,050 2.49%
KR 898 2.13%
JP 857 2.04%
GB 832 1.98%
IE 831 1.97%

Is CVE-2021-4189 part of your extended attack surface? Bitsight helps security leaders rapidly identify exposure and detect threats in order to prioritize, communicate, and mitigate risk.

View interactive product tours

CVE-2021-4189 Industry Footprint

Top 10 Identified Industries

*Service provider organizations (typically Technology and Telecommunications) are disproportionally represented in the results given their upstream ownership of end-user infrastructure. See our FAQs.

Industry* Observations Percentage
Technology 28,100 83.78%
Telecommunications 4,841 14.43%
Education 289 0.86%
Retail 98 0.29%
Government/Politics 38 0.11%
Media/Entertainment 38 0.11%
Business Services 20 0.06%
Manufacturing 18 0.05%
Finance 17 0.05%
Engineering 17 0.05%

Bitsight, the leading provider in Cyber Risk Management, introduced the next-generation internet scanner Bitsight Groma in May 2024. This technology continuously scans the entire internet to discover assets, collect asset attribution evidence, and identify an ever-growing set of security observations, such as vulnerabilities and misconfigurations. Groma’s scanning activities presently encompass:


  • 40 million-plus monitored organizations
  • 250 million-plus host names
  • 4 billion-plus routable IPv4 and IPv6 addresses

Greynoise’s recent study testifies the speed of Bitsight Groma.

Bitsight data discovery
Governance charcoal background

Bitsight TRACE team investigates security incidents and identifies vulnerabilities and threats.

View latest security research 

See what you’re up against across the expanding attack surface. Prioritize what matters most. And mitigate where you’re most vulnerable.

External Attack Surface Management