cbcvebase.
CVE-2021-4189
published 2022-08-24

CVE-2021-4189: 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…

medium5.3CVSS 4.0
AVNACLPRNUINSUCLINAN
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianpypy3< pypy3 7.3.5+dfsg-2 (bookworm)pypy3 7.3.5+dfsg-2 (bookworm)
debianpython2.7< pypy3 7.3.5+dfsg-2 (bookworm)pypy3 7.3.5+dfsg-2 (bookworm)
debianpython3.9< pypy3 7.3.5+dfsg-2 (bookworm)pypy3 7.3.5+dfsg-2 (bookworm)
pythonpython
pythonpython>= 3.6.0 < 3.6.143.6.14
pythonpython>= 3.7.0 < 3.7.113.7.11
pythonpython>= 3.8.0 < 3.8.93.8.9
pythonpython>= 3.9.0 < 3.9.33.9.3
python_software_foundationcpython< 3.15.03.15.0
redhatenterprise_linux

CVSS provenance

nvdv4.05.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
osv7.6HIGH