Vulnerability Name:

CVE-2021-4189 (CCN-227269)

Assigned:2021-02-21
Published:2021-02-21
Updated:2023-06-30
Summary:Python could allow a remote attacker to obtain sensitive information, caused by a flaw when using the FTP client library in PASV (passive) mode. By using a specially-crafted FTP server, an attacker could exploit this vulnerability to obtain service banner information from private network., and use this information to launch further attacks against the affected system.
CVSS v3 Severity:5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
5.3 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2021-4189

Source: secalert@redhat.com
Type: Third Party Advisory
secalert@redhat.com

Source: secalert@redhat.com
Type: Patch, Vendor Advisory
secalert@redhat.com

Source: CCN
Type: Red Hat Bugzilla - Bug 2036020
CVE-2021-4189 python: ftplib should not use the host from the PASV response

Source: secalert@redhat.com
Type: Issue Tracking, Patch, Third Party Advisory
secalert@redhat.com

Source: XF
Type: UNKNOWN
python-cve20214189-info-disc(227269)

Source: CCN
Type: CPython GIT Repository
bpo-43285 Make ftplib not trust the PASV response. (GH-24838)

Source: secalert@redhat.com
Type: Patch, Third Party Advisory
secalert@redhat.com

Source: secalert@redhat.com
Type: UNKNOWN
secalert@redhat.com

Source: secalert@redhat.com
Type: UNKNOWN
secalert@redhat.com

Source: secalert@redhat.com
Type: Patch, Third Party Advisory
secalert@redhat.com

Source: secalert@redhat.com
Type: Third Party Advisory
secalert@redhat.com

Source: secalert@redhat.com
Type: Third Party Advisory
secalert@redhat.com

Source: CCN
Type: IBM Security Bulletin 6597545 (App Connect Enterprise Certified Container)
IBM App Connect Enterprise Certified Container DesignerAuthoring operands may be vulnerable to loss of confidentiality due to CVE-2021-4189

Source: CCN
Type: IBM Security Bulletin 6610339 (Watson Speech Services Cartridge for Cloud Pak for Data)
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to a possible sensitive information exposure in Python (CVE-2021-4189).

Source: CCN
Type: IBM Security Bulletin 6615217 (Robotic Process Automation for Cloud Pak)
Multiple vulnerabilities may affect IBM Robotic Process Automation for Cloud Pak

Source: CCN
Type: IBM Security Bulletin 6830257 (Robotic Process Automation)
Multiple security vulnerabilities may affect IBM Robotic Process Automation for Cloud Pak

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-4189

Vulnerable Configuration:Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*
  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*
  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:8:*:*:*:*:*:*:*
  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:8::baseos:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:python:python:3.7:*:*:*:*:*:*:*
  • OR cpe:/a:python:python:3.6.0:-:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:robotic_process_automation:21.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:robotic_process_automation:21.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:robotic_process_automation:21.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:robotic_process_automation_for_cloud_pak:21.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:robotic_process_automation_for_cloud_pak:21.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:robotic_process_automation:21.0.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.redhat.rhsa:def:20221986
    P
    RHSA-2022:1986: python3 security update (Moderate)
    2022-05-10
    oval:com.redhat.rhsa:def:20221821
    P
    RHSA-2022:1821: python27:2.7 security update (Moderate)
    2022-05-10
    oval:org.opensuse.security:def:6325
    P
    Security update for python (Moderate)
    2022-04-08
    oval:org.opensuse.security:def:127251
    P
    Security update for python (Moderate)
    2022-04-08
    oval:org.opensuse.security:def:6003
    P
    Security update for python (Moderate)
    2022-04-08
    oval:org.opensuse.security:def:125688
    P
    Security update for python (Moderate)
    2022-04-08
    oval:org.opensuse.security:def:126854
    P
    Security update for python (Moderate)
    2022-04-08
    oval:org.opensuse.security:def:100061
    P
    (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:101748
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:119049
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:849
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:100395
    P
    (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:102142
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:1057
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:100728
    P
    (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:1581
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:101580
    P
    Security update for python (Moderate)
    2022-04-01
    oval:org.opensuse.security:def:5373
    P
    Security update for python3 (Moderate)
    2022-03-16
    oval:org.opensuse.security:def:6200
    P
    Security update for python3 (Moderate)
    2022-03-16
    BACK
    python python 3.7
    python python 3.6.0 -
    ibm robotic process automation 21.0.1
    ibm robotic process automation 21.0.2
    ibm robotic process automation 21.0.3
    ibm robotic process automation for cloud pak 21.0.1
    ibm robotic process automation for cloud pak 21.0.2
    ibm robotic process automation 21.0.4