Skip to main content
← All vulnerabilities
CVE-2021-4189BIT-LIBPYTHON-2021-4189BIT-PYTHON-2021-4189BIT-PYTHON-MIN-2021-4189

A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.14, 3.7.11, 3.8.9, 3.9.3, 3.10.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a python

    Fixed in python 3.6.14, python 3.7.11, python 3.8.9, python 3.9.3, python 3.10.0

  • libpythonBitnami

    From 3.6.0 · fixed in 3.6.14; From 3.7.0 · fixed in 3.7.11; From 3.8.0 · fixed in 3.8.9; From 3.9.0 · fixed in 3.9.3; From 3.10.0 · fixed in 3.10.1

  • pythonBitnami

    From 3.6.0 · fixed in 3.6.14; From 3.7.0 · fixed in 3.7.11; From 3.8.0 · fixed in 3.8.9; From 3.9.0 · fixed in 3.9.3; From 3.10.0 · fixed in 3.10.1

  • python-minBitnami

    From 3.6.0 · fixed in 3.6.14; From 3.7.0 · fixed in 3.7.11; From 3.8.0 · fixed in 3.8.9; From 3.9.0 · fixed in 3.9.3; From 3.10.0 · fixed in 3.10.1

References 9

bugs.python.org

python-security.readthedocs.io

GitHub · python/cpython

security-tracker.debian.org

bugzilla.redhat.com

access.redhat.com

security.netapp.com

lists.debian.org