Read the docs
TI-2021-03056 Aliases CVE-2021-4189GHSA-67xf-xphq-9mcc

A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client…

Priority LOW 36CWE-252Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 7 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.03409 88th percentileScored 2026-11-07
Fix Partial Red Hat: 4 advisoriesRed Hat: 7 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—pythonFixed in python 3.6.14, python 3.7.11, python 3.8.9, python 3.9.3, python 3.10.0—No fix listedCNA
  • python Vendor— Affected Fixed in python 3.6.14, python 3.7.11, python 3.8.9, python 3.9.3, python 3.10.0 Fixed in — No fix listed CNA

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*3.6.0 to before 3.6.14; 3.7.0 to before 3.7.11; 3.8.0 to before 3.8.9; 3.9.0 to before 3.9.3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.10.0:-:*:*:*:*:*:*3.10.0Vulnerablepython-pillow
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0VulnerableRed Hat
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 3.6.0 to before 3.6.14; 3.7.0 to before 3.7.11; 3.8.0 to before 3.8.9; 3.9.0 to before 3.9.3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.10.0:-:*:*:*:*:*:* Versions 3.10.0 Vulnerable ·python-pillow
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
  • cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
  • cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp

Remediation

Red Hat 4 advisories

  • RHSA-2022:1986 Released 2022-05-10 · Red Hat rating Moderate
    python3 security update
    • Red Hat Enterprise Linux AppStream (v. 8) platform-python-3.6.8-45.el8, platform-python-debug-3.6.8-45.el8, platform-python-devel-3.6.8-45.el8 +3
    • Red Hat Enterprise Linux BaseOS (v. 8) platform-python-3.6.8-45.el8, python3-3.6.8-45.el8, python3-libs-3.6.8-45.el8 +1
  • RHSA-2022:1821 Released 2022-05-10 · Red Hat rating Moderate
    python27:2.7 security update
    • Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-10.module+el8.5.0+11014+88fc0d0b.noarch::python27:2.7 +47
  • RHSA-2022:1663 Released 2022-05-02 · Red Hat rating Moderate
    python27-python and python27-python-pip security update
    • Red Hat Software Collections for RHEL Workstation(v. 7) python27-python-2.7.18-4.el7, python27-python-debug-2.7.18-4.el7, python27-python-devel-2.7.18-4.el7 +4
    • Red Hat Software Collections for RHEL(v. 7) python27-python-2.7.18-4.el7, python27-python-debug-2.7.18-4.el7, python27-python-devel-2.7.18-4.el7 +4
Show 1 more Red Hat advisories
  • RHSA-2021:3254 Released 2021-08-24 · Red Hat rating Moderate
    rh-python38 security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:1821, RHSA-2022:1986
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:1986
Red Hat Software Collections for RHEL Workstation(v. 7)Fixed RHSA-2022:1663
Red Hat Software Collections for RHEL(v. 7)Fixed RHSA-2022:1663
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)Fixed RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2021:3254
Not affected: 3 products
  • Red Hat Enterprise Linux 8
  • Red Hat Software Collections for RHEL Workstation(v. 7)
  • Red Hat Software Collections for RHEL(v. 7)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4189
  2. 2026-10-03 Alias added: GHSA-67xf-xphq-9mcc

References

Sources