CVE-2021-4189
CVSS V2 None
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2021-4189
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-08-24T16:15:09
- Last Modified Date
- 2022-12-08T03:57:47
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 1 | OR | 3.6.0 | 3.6.14 |
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 1 | OR | 3.7.0 | 3.7.11 |
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 1 | OR | 3.8.0 | 3.8.9 |
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 1 | OR | 3.9.0 | 3.9.3 |
cpe:2.3:a:python:python:3.10.0:-:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://access.redhat.com/security/cve/CVE-2021-4189 | Third Party Advisory |
https://bugs.python.org/issue43285 | Patch Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2036020 | Issue Tracking Patch Third Party Advisory |
https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188e | Patch Third Party Advisory |
https://python-security.readthedocs.io/vuln/ftplib-pasv.html | Patch Third Party Advisory |
https://security-tracker.debian.org/tracker/CVE-2021-4189 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20221104-0004/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-4189 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4189 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-08-24 17:00:14 | Added to TrackCVE | |||
2022-12-08 04:36:14 | 2022-12-08T03:57:47 | CVE Modified Date | updated | |
2022-12-08 04:36:14 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |