CVE search · CVE-2021-4189
CVE-2021-4189
medium 5.3
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.
Details
- Status
- Modified
- Published
- Last changed
- Source
- secalert@redhat.com
- Weakness
- CWE-252
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 3.1 | medium 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
nvd@nist.govPrimary |
| CVSS 3.1 | medium 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- python · python
- debian · debian_linux
- redhat · software_collections
- redhat · enterprise_linux
- netapp · ontap_select_deploy_administration_utility
References
- https://access.redhat.com/security/cve/CVE-2021-4189Third Party Advisory
- https://bugs.python.org/issue43285PatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2036020Issue TrackingPatchThird Party Advisory
- https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188ePatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- https://python-security.readthedocs.io/vuln/ftplib-pasv.htmlPatchThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2021-4189Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221104-0004/Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-4189Third Party Advisory
- https://bugs.python.org/issue43285PatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2036020Issue TrackingPatchThird Party Advisory
- https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188ePatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- https://python-security.readthedocs.io/vuln/ftplib-pasv.htmlPatchThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2021-4189Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221104-0004/Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html