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.
総合評価: CVE-2021-4189 は中リスク(50.3/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 2.51%、83 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-24 | 2.39% | 2.51% | +0.12% |
| 2 | 2026-06-15 | 0.97% | 2.39% | +1.41% |
| 3 | 2026-06-12 | — | 0.97% | — |
EPSS の全履歴 (全 26 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-4189 not yet assigned priority: Debian including 3 source packages (pypy3, python2.7, python3.9), 7 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 6, open 1. | https://security-tracker.debian.org/tracker/CVE-2021-4189 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-4189 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2021-4189/ |
ubuntu
|
medium | CVE-2021-4189 medium priority: Ubuntu including 8 source packages (python2.7, python3.10, …), 120 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 90, released 14, not-affected 6, ignored 5, needed 3, needs-triage 2. | https://ubuntu.com/security/CVE-2021-4189 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| python | python | >= 3.6.0, < 3.6.14 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.7.0, < 3.7.11 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.8.0, < 3.8.9 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.9.0, < 3.9.3 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:-:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| redhat | software_collections | — | cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
| netapp | ontap_select_deploy_administration_utility | — | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| 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://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.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/ | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html |