CVE-2021-4189

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-4189
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4189.json
Aliases
Related
Published
2022-08-24T16:15:09Z
Modified
2023-12-06T01:01:38.026799Z
Details

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.

References

Affected packages

Git / github.com/python/cpython

Affected versions

v3.*

v3.10.0a1
v3.10.0a2
v3.10.0a3
v3.10.0a4
v3.10.0a5
v3.10.0a6
v3.4.6
v3.4.6rc1
v3.5.3
v3.5.3rc1
v3.6.0
v3.7.0a1
v3.7.0a2
v3.7.0a3
v3.7.0a4
v3.8.0a1
v3.8.0a2
v3.8.0a3
v3.8.0a4
v3.8.0b1
v3.9.0a1
v3.9.0a2
v3.9.0a3
v3.9.0a4
v3.9.0a5
v3.9.0a6