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 breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected products
- Debian / debian_linux11.0 – 11.0
- Debian / debian_linux10.0 – 10.0
- NetApp / ONTAP Select Deploy administration utility
- Python / python3.6.0 – 3.6.14
- Python / python3.10.0 – 3.10.0
- RedHat / enterprise_linux8.0 – 8.0
- RedHat / software_collections
References
- MISChttps://bugs.python.org/issue43285
- MISChttps://python-security.readthedocs.io/vuln/ftplib-pasv.html
- PATCHhttps://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188e
- VENDOR_ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-4189
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=2036020
- VENDOR_ADVISORYhttps://access.redhat.com/security/cve/CVE-2021-4189
- MISChttps://security.netapp.com/advisory/ntap-20221104-0004/
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2023/06/msg00039.html
Updated 44m ago · 8 sources