{"cve":{"cve_id":"CVE-2021-4189","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.03196,"epss_percentile":0.87896,"epss_as_of":"2026-10-15","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.","published_at":"2022-08-24T00:00:00Z","last_modified_at":"2026-10-14T11:16:54.940000Z","cvss_v3_score":5.3,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","cvss_v3_severity":"MEDIUM","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":true,"ssvc_technical_impact":"partial","cwes":["CWE-252"],"nvd_references":["https://bugs.python.org/issue43285","https://python-security.readthedocs.io/vuln/ftplib-pasv.html","https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188e","https://security-tracker.debian.org/tracker/CVE-2021-4189","https://bugzilla.redhat.com/show_bug.cgi?id=2036020","https://access.redhat.com/security/cve/CVE-2021-4189","https://security.netapp.com/advisory/ntap-20221104-0004/","https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html","https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html"],"vuln_status":"Modified","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-10-14T23:59:09.254433Z"},"effective_severity":"MEDIUM","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"L","value_label":"Low"},{"metric":"I","name":"Integrity","value":"N","value_label":"None"},{"metric":"A","name":"Availability","value":"N","value_label":"None"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"debian","vendor_name":"Debian","product_slug":"debian-linux","product_name":"debian_linux","version_start":"11.0","version_start_inclusive":true,"version_end":"11.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"},{"vendor_slug":"debian","vendor_name":"Debian","product_slug":"debian-linux","product_name":"debian_linux","version_start":"10.0","version_start_inclusive":true,"version_end":"10.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"},{"vendor_slug":"netapp","vendor_name":"NetApp","product_slug":"ontap-select-deploy-administration-utility","product_name":"ONTAP Select Deploy administration utility","version_start":null,"version_start_inclusive":null,"version_end":null,"version_end_inclusive":null,"cpe23_uri":"cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*"},{"vendor_slug":"python","vendor_name":"Python","product_slug":"python","product_name":"python","version_start":"3.6.0","version_start_inclusive":true,"version_end":"3.6.14","version_end_inclusive":false,"cpe23_uri":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"},{"vendor_slug":"python","vendor_name":"Python","product_slug":"python","product_name":"python","version_start":"3.10.0","version_start_inclusive":true,"version_end":"3.10.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:python:python:3.10.0:-:*:*:*:*:*:*"},{"vendor_slug":"redhat","vendor_name":"RedHat","product_slug":"enterprise-linux","product_name":"enterprise_linux","version_start":"8.0","version_start_inclusive":true,"version_end":"8.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"},{"vendor_slug":"redhat","vendor_name":"RedHat","product_slug":"software-collections","product_name":"software_collections","version_start":null,"version_start_inclusive":null,"version_end":null,"version_end_inclusive":null,"cpe23_uri":"cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*"}],"exploit_refs":[],"news":[],"references":[{"url":"https://bugs.python.org/issue43285","source_type":"MISC","tags":[]},{"url":"https://python-security.readthedocs.io/vuln/ftplib-pasv.html","source_type":"MISC","tags":[]},{"url":"https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188e","source_type":"PATCH","tags":["patch"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-4189","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2036020","source_type":"MISC","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2021-4189","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221104-0004/","source_type":"MISC","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html","source_type":"MAILING_LIST","tags":["mailing-list"]}],"timeline":[{"type":"published","at":"2022-08-24T00:00:00Z","label":"CVE published","source":null},{"type":"ssvc_changed","at":"2026-06-24T00:31:53.340304Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-24T00:31:53.340304Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-24T00:31:53.340304Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-06-24T00:31:53.340304Z","label":"CVSS score revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-06-24T00:31:53.340304Z","label":"CVSS score revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-06-24T00:31:53.340304Z","label":"CVSS score revised","source":"vulnrichment"}]}