Python FTP Client Library return value

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k0.00

Summaryinfo

A vulnerability was found in Python. It has been classified as problematic. Affected is an unknown function of the component FTP Client Library. The manipulation leads to an unknown weakness. This vulnerability is uniquely identified as CVE-2021-4189. The attack is possible to be carried out remotely. No exploit exists. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability was found in Python (Programming Language Software) (unknown version). It has been rated as problematic. This issue affects an unknown code block of the component FTP Client Library. Using CWE to declare the problem leads to CWE-252. The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was disclosed 08/25/2022 as 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2021-4189 since 12/29/2021. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available.

The vulnerability scanner Nessus provides a plugin with the ID 211144 (Fedora 37 : python2.7 (2022-b8559307db)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at Tenable (211144), EUVD (EUVD-2021-34049) and CERT Bund (WID-SEC-2022-0011). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • F5 F5OS
  • Open Source Python
  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • Oracle Linux
  • Avaya Aura Communication Manager
  • Avaya Aura Session Manager
  • Avaya Aura Application Enablement Services
  • Avaya Aura Device Services
  • Avaya Aura System Manager
  • Avaya Aura Experience Portal
  • IBM QRadar SIEM
  • F5 BIG-IP

Productinfo

Type

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.1
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.3
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Return value
CWE: CWE-252 / CWE-253
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 211144
Nessus Name: Fedora 37 : python2.7 (2022-b8559307db)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e

Timelineinfo

12/29/2021 🔍
08/25/2022 +238 days 🔍
08/25/2022 +0 days 🔍
02/07/2026 +1262 days 🔍

Sourcesinfo

Advisory: 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e
Status: Confirmed

CVE: CVE-2021-4189 (🔍)
GCVE (CVE): GCVE-0-2021-4189
GCVE (VulDB): GCVE-100-207107
EUVD: 🔍
CERT Bund: WID-SEC-2022-0011 - Python: Mehrere Schwachstellen

Entryinfo

Created: 08/25/2022 08:10
Updated: 02/07/2026 19:46
Changes: 08/25/2022 08:10 (39), 09/25/2022 14:04 (13), 11/17/2024 05:45 (16), 04/30/2025 00:47 (3), 11/05/2025 08:35 (1), 12/17/2025 23:18 (1), 02/07/2026 19:46 (7)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!