Type conversion in CPython - CVE-2020-10735

 

Type conversion in CPython - CVE-2020-10735

Published: September 29, 2022


Vulnerability identifier: #VU67760
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-10735
CWE-ID: CWE-704
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a type confusion in algorithms with quadratic time complexity when using non-binary bases within the int() call. A remote attacker can pass specially crafted data to the affected application and perform a denial of service (DoS) attack.


Affected software

CPython
Amazon Linux AMI
Oracle Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
IBM AIX
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Web Scripting
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Slackware Linux
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Python3
openSUSE Leap
openEuler
Fedora
Dell Data Protection Central
Dell EMC PowerProtect Data Protection
OpenManage Network Integration (OMNI)
EMC ECS
Enterprise SONiC
EMC Cloud Tiering Appliance
Self Node Remediation Operator
Multicluster Engine for Kubernetes
OpenShift Service Mesh
OpenShift Data Foundation (formerly OpenShift Container Storage)
Service Telemetry Framework
IBM Spectrum Copy Data Management
Migration Toolkit for Virtualization
Red Hat Advanced Cluster Management for Kubernetes
IBM Watson Assistant for IBM Cloud Pak for Data
OpenShift Logging
IBM Spectrum Protect Plus
Oracle Communications Cloud Native Core Binding Support Function
Spectrum Discover
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Watson Discovery for IBM Cloud Pak for Data
Dell Secure Connect Gateway
IBM Spectrum Protect Plus Container Backup and Restore for Kubernetes
IBM Spectrum Protect Plus Container Backup and Restore for OpenShift
IBM Robotic Process Automation
Red Hat OpenShift GitOps
Migration Toolkit for Containers
MySQL Shell
QRadar Suite
IBM Security SOAR
rh-python38-python (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
python39-wcwidth
python39-PyMySQL
python39-toml
python39-pluggy
python39-Cython
python39-wheel-wheel
python39-wheel
python39-iniconfig
python39-scipy
python39-pysocks
python39-py
python39-cffi
python39-six
python39-numpy-doc
python39-numpy-f2py
python39-numpy
python39-urllib3
python39-pyparsing
python39-pybind11
python39-pybind11-devel
python39-psycopg2
python39-psycopg2-tests
python39-psycopg2-doc
python39-idna
python39-pycparser
python39-requests
python39-chardet
python39-cryptography
libpython3_4m1_0-32bit
python3-tk-debuginfo
libpython3_4m1_0-debuginfo-32bit
python3-tk
python3-dbm-debuginfo
python3-debugsource
python3-base-debuginfo-32bit
python3-dbm
python3-devel-debuginfo
python3-devel
libpython3_4m1_0
libpython3_4m1_0-debuginfo
python3
python3-base
python3-base-debuginfo
python3-base-debugsource
python3-curses
python3-curses-debuginfo
python3-debuginfo
python3 (Red Hat package)
python3-test
platform-python
platform-python-debug
platform-python-devel
python3-idle
python3-libs
python3-tkinter
python3.6
libpython3_6m1_0-debuginfo-32bit
libpython3_6m1_0-32bit
python36-debugsource
python36-base
python36-debuginfo
python36-base-debuginfo
python36-devel
libpython3_6m1_0
libpython3_6m1_0-debuginfo
python36
python3-tools
python3-core-debugsource
python3-testsuite
python3-doc
python3-doc-devhelp
python3-testsuite-debuginfo
libpython3_6m1_0-32bit-debuginfo
python3-help
python3-debug
python3.7
python3.8
python3.9 (Red Hat package)
python3.9
python39
libpython3_9-1_0-debuginfo
python39-base
python39-curses
libpython3_9-1_0
python39-32bit-debuginfo
python39-base-32bit
python39-base-32bit-debuginfo
python39-32bit
python39-doc
libpython3_9-1_0-32bit-debuginfo
libpython3_9-1_0-32bit
python39-tools
python39-tk-debuginfo
python39-tk
python39-testsuite-debuginfo
python39-testsuite
python39-idle
python39-doc-devhelp
python39-base-debuginfo
python39-devel
python39-debugsource
python39-debuginfo
python39-dbm-debuginfo
python39-dbm
python39-curses-debuginfo
python39-core-debugsource
python39-rpm-macros
python39-tkinter
python39-libs
python39-debug
python39-test
python3.10
python3-docs
python310-dbm-debuginfo
python310-curses-debuginfo
python310-dbm
python310-devel
python310-debuginfo
python310-debugsource
python310-testsuite
python310-curses
python310-core-debugsource
python310-base-debuginfo
python310-base
python310
libpython3_10-1_0-debuginfo
libpython3_10-1_0
python310-doc
python310-tools
python310-doc-devhelp
python310-idle
libpython3_10-1_0-32bit
python310-tk-debuginfo
python310-tk
libpython3_10-1_0-32bit-debuginfo
python310-testsuite-debuginfo
python310-32bit
python310-base-32bit-debuginfo
python310-32bit-debuginfo
python310-base-32bit
mingw-python3
python3.11
python39-ply
python39-lxml
python39-mod_wsgi
python39-pyyaml
python39-psutil
python39-pytest
python39-more-itertools
python39-pip
python39-pip-wheel
python39-attrs
python39-packaging
python-pip
python39-setuptools
python39-setuptools-wheel
IBM Qradar SIEM
Dell Enterprise SONiC Distribution
PeopleSoft Enterprise PeopleTools
Oracle Database Server
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
IBM Power System AC922
PowerScale OneFS
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
IBM Storage Scale System
Dell EMC VxRail Appliance
IBM Security Verify Access

How to mitigate CVE-2020-10735

Install updates from vendor's website.

CPython - addressed in versions 3.7.14, 3.8.14, 3.9.14, 3.10.7
Self Node Remediation Operator - update to 0.5.1
Service Telemetry Framework - update to 1.5.4
Red Hat OpenShift GitOps - addressed in versions 1.10.0, 1.11
Migration Toolkit for Containers - update to 1.7.8
QRadar Suite - update to 1.10.17.0
Multicluster Engine for Kubernetes - update to 2.1.6
IBM Spectrum Copy Data Management - update to 2.2.20.0
OpenShift Service Mesh - update to 2.3.2
Migration Toolkit for Virtualization - update to 2.4.3
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.5.8, 2.6.5
rh-python38-python (Red Hat package) - update to 3.8.14-1.el7
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.7.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - addressed in versions 4.11.7, 4.12.1, 4.12.2, 4.13.0
OpenShift Logging - addressed in versions 5.4.12, 5.5.8, 5.6.3
IBM Qradar SIEM - update to 7.5.0 Update Pack 8
IBM Spectrum Protect Plus - update to 10.1.14
IBM Power System AC922 - update to OP910.80
python39-wcwidth - update to 0.2.5-3
python39-PyMySQL - update to 0.10.1-2
python39-toml - update to 0.10.1-5
python39-pluggy - update to 0.13.1-3
python39-Cython - update to 0.29.21-5
python39-wheel-wheel - update to 0.35.1-4
python39-wheel - update to 0.35.1-4
python39-iniconfig - update to 1.1.1-2
python39-scipy - update to 1.5.4-3
python39-pysocks - update to 1.7.1-4
python39-py - update to 1.10.0-1
python39-cffi - update to 1.14.3-2
python39-six - update to 1.15.0-3
python39-numpy-doc - update to 1.19.4-3.0.1
python39-numpy-f2py - update to 1.19.4-3.0.1
python39-numpy - update to 1.19.4-3.0.1
python39-urllib3 - update to 1.25.10-4
Spectrum Discover - addressed in versions 2.0.4.8, 2.1.1
python39-pyparsing - update to 2.4.7-5
python39-pybind11 - update to 2.7.1-1
python39-pybind11-devel - update to 2.7.1-1
python39-psycopg2 - update to 2.8.6-2.0.1
python39-psycopg2-tests - update to 2.8.6-2.0.1
python39-psycopg2-doc - update to 2.8.6-2.0.1
python39-idna - update to 2.10-3
python39-pycparser - update to 2.20-3
python39-requests - update to 2.25.0-2
python39-chardet - update to 3.0.4-19
python39-cryptography - update to 3.3.1-2
libpython3_4m1_0-32bit - update to 3.4.10-25.102.2
python3-tk-debuginfo - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
libpython3_4m1_0-debuginfo-32bit - update to 3.4.10-25.102.2
python3-tk - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-dbm-debuginfo - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-debugsource - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-base-debuginfo-32bit - update to 3.4.10-25.102.2
python3-dbm - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-devel-debuginfo - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-devel - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
libpython3_4m1_0 - update to 3.4.10-25.102.2
libpython3_4m1_0-debuginfo - update to 3.4.10-25.102.2
python3 - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-base - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-base-debuginfo - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-base-debugsource - update to 3.4.10-25.102.2
python3-curses - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-curses-debuginfo - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-debuginfo - addressed in versions 3.4.10-25.102.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3 (Red Hat package) - addressed in versions 3.6.8-47.el8_6.4, 3.6.8-48.el8_7.1
python3-test - update to 3.6.8-48.0.2
platform-python - update to 3.6.8-48.0.2
platform-python-debug - update to 3.6.8-48.0.2
platform-python-devel - update to 3.6.8-48.0.2
python3-idle - update to 3.6.8-48.0.2
python3-libs - update to 3.6.8-48.0.2
python3-tkinter - update to 3.6.8-48.0.2
python3.6 - addressed in versions 3.6.15-6.fc35, 3.6.15-12.fc36, 3.6.15-13.fc37, 3.6.15-13.fc38
libpython3_6m1_0-debuginfo-32bit - update to 3.6.15-32.2
libpython3_6m1_0-32bit - addressed in versions 3.6.15-32.2, 3.6.15-150300.10.37.2
python36-debugsource - update to 3.6.15-32.2
python36-base - update to 3.6.15-32.2
python36-debuginfo - update to 3.6.15-32.2
python36-base-debuginfo - update to 3.6.15-32.2
python36-devel - update to 3.6.15-32.2
libpython3_6m1_0 - addressed in versions 3.6.15-32.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
libpython3_6m1_0-debuginfo - addressed in versions 3.6.15-32.2, 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python36 - update to 3.6.15-32.2
python3-tools - addressed in versions 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-core-debugsource - addressed in versions 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-idle - addressed in versions 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-testsuite - addressed in versions 3.6.15-150000.3.116.1, 3.6.15-150300.10.37.2
python3-doc - update to 3.6.15-150300.10.37.1
python3-doc-devhelp - update to 3.6.15-150300.10.37.1
python3-testsuite-debuginfo - update to 3.6.15-150300.10.37.2
libpython3_6m1_0-32bit-debuginfo - update to 3.6.15-150300.10.37.2
OpenManage Network Integration (OMNI) - update to 3.7
python3-help - update to 3.7.9-28
python3-debuginfo - update to 3.7.9-28
python3-debugsource - update to 3.7.9-28
python3-devel - update to 3.7.9-28
python3-debug - update to 3.7.9-28
python3 - update to 3.7.9-28
python3.7 - addressed in versions 3.7.14-1.fc35, 3.7.14-1.fc36, 3.7.14-1.fc37
EMC ECS - update to 3.8.0.2
python3.8 - addressed in versions 3.8.14-1.fc35, 3.8.14-1.fc36, 3.8.14-1.fc37
python3.9 (Red Hat package) - update to 3.9.10-3.el9_0
python3 - update to 3.9.14
python3.9 - addressed in versions 3.9.14-1.fc35, 3.9.14-1.fc36, 3.9.14-1.fc37
python39 - update to 3.9.14-150300.4.16.1
libpython3_9-1_0-debuginfo - update to 3.9.14-150300.4.16.1
python39-base - update to 3.9.14-150300.4.16.1
python39-curses - update to 3.9.14-150300.4.16.1
libpython3_9-1_0 - update to 3.9.14-150300.4.16.1
python39-32bit-debuginfo - update to 3.9.14-150300.4.16.1
python39-base-32bit - update to 3.9.14-150300.4.16.1
python39-base-32bit-debuginfo - update to 3.9.14-150300.4.16.1
python39-32bit - update to 3.9.14-150300.4.16.1
python39-doc - update to 3.9.14-150300.4.16.1
libpython3_9-1_0-32bit-debuginfo - update to 3.9.14-150300.4.16.1
libpython3_9-1_0-32bit - update to 3.9.14-150300.4.16.1
python39-tools - update to 3.9.14-150300.4.16.1
python39-tk-debuginfo - update to 3.9.14-150300.4.16.1
python39-tk - update to 3.9.14-150300.4.16.1
python39-testsuite-debuginfo - update to 3.9.14-150300.4.16.1
python39-testsuite - update to 3.9.14-150300.4.16.1
python39-idle - update to 3.9.14-150300.4.16.1
python39-doc-devhelp - update to 3.9.14-150300.4.16.1
python39-base-debuginfo - update to 3.9.14-150300.4.16.1
python39-devel - update to 3.9.14-150300.4.16.1
python39-debugsource - update to 3.9.14-150300.4.16.1
python39-debuginfo - update to 3.9.14-150300.4.16.1
python39-dbm-debuginfo - update to 3.9.14-150300.4.16.1
python39-dbm - update to 3.9.14-150300.4.16.1
python39-curses-debuginfo - update to 3.9.14-150300.4.16.1
python39-core-debugsource - update to 3.9.14-150300.4.16.1
python3.9 - update to 3.9.16-1
python39-rpm-macros - update to 3.9.16-2.0.1
python39 - update to 3.9.16-2.0.1
python39-tkinter - update to 3.9.16-2.0.1
python39-libs - update to 3.9.16-2.0.1
python39-idle - update to 3.9.16-2.0.1
python39-devel - update to 3.9.16-2.0.1
python39-debug - update to 3.9.16-2.0.1
python39-test - update to 3.9.16-2.0.1
python3.10 - addressed in versions 3.10.7-1.fc35, 3.10.7-1.fc36, 3.10.7-1.fc37
python3-docs - addressed in versions 3.10.7-1.fc35, 3.10.7-1.fc36, 3.11.0~rc2-1.fc37
python310-dbm-debuginfo - update to 3.10.7-150400.4.10.1
python310-curses-debuginfo - update to 3.10.7-150400.4.10.1
python310-dbm - update to 3.10.7-150400.4.10.1
python310-devel - update to 3.10.7-150400.4.10.1
python310-debuginfo - update to 3.10.7-150400.4.10.1
python310-debugsource - update to 3.10.7-150400.4.10.1
python310-testsuite - update to 3.10.7-150400.4.10.1
python310-curses - update to 3.10.7-150400.4.10.1
python310-core-debugsource - update to 3.10.7-150400.4.10.1
python310-base-debuginfo - update to 3.10.7-150400.4.10.1
python310-base - update to 3.10.7-150400.4.10.1
python310 - update to 3.10.7-150400.4.10.1
libpython3_10-1_0-debuginfo - update to 3.10.7-150400.4.10.1
libpython3_10-1_0 - update to 3.10.7-150400.4.10.1
python310-doc - update to 3.10.7-150400.4.10.1
python310-tools - update to 3.10.7-150400.4.10.1
python310-doc-devhelp - update to 3.10.7-150400.4.10.1
python310-idle - update to 3.10.7-150400.4.10.1
libpython3_10-1_0-32bit - update to 3.10.7-150400.4.10.1
python310-tk-debuginfo - update to 3.10.7-150400.4.10.1
python310-tk - update to 3.10.7-150400.4.10.1
libpython3_10-1_0-32bit-debuginfo - update to 3.10.7-150400.4.10.1
python310-testsuite-debuginfo - update to 3.10.7-150400.4.10.1
python310-32bit - update to 3.10.7-150400.4.10.1
python310-base-32bit-debuginfo - update to 3.10.7-150400.4.10.1
python310-32bit-debuginfo - update to 3.10.7-150400.4.10.1
python310-base-32bit - update to 3.10.7-150400.4.10.1
mingw-python3 - addressed in versions 3.10.8-1.fc36, 3.10.8-1.fc37
python3.11 - addressed in versions 3.11.0~rc2-1.fc35, 3.11.0~rc2-1.fc36, 3.11.0~rc2-1.fc37
python39-ply - update to 3.11-10
Enterprise SONiC - update to 4.1.2
Dell Enterprise SONiC Distribution - update to 4.4.2
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.6.5
python39-lxml - update to 4.6.5-1
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.7.0
python39-mod_wsgi - update to 4.7.1-5
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
EMC ViPR SRM - update to 4.9.0.0
python39-pyyaml - update to 5.4.1-1
python39-psutil - update to 5.8.0-4.0.1
Dell Secure Connect Gateway - update to 5.14.00.16
python39-pytest - update to 6.0.2-2
IBM Storage Scale System - addressed in versions 6.1.2.8, 6.1.9.0
Dell EMC VxRail Appliance - update to 7.0.411
python39-more-itertools - update to 8.5.0-2
PowerScale OneFS - update to 9.5.0.6
IBM Security Verify Access - update to 10.0.5.0 FP001
IBM Spectrum Protect Plus Container Backup and Restore for Kubernetes - update to 10.1.12.4
IBM Spectrum Protect Plus Container Backup and Restore for OpenShift - update to 10.1.12.4
EMC Cloud Tiering Appliance - update to 13.1.0.2.29
python39-pip - update to 20.2.4-7
python39-pip-wheel - update to 20.2.4-7
python39-attrs - update to 20.3.0-2
python39-packaging - update to 20.4-4
IBM Robotic Process Automation - addressed in versions 21.0.7.8, 23.0.9
python-pip - update to 21.3.1-3.fc36
IBM Security SOAR - update to 47.2
python39-setuptools - update to 50.3.2-4
python39-setuptools-wheel - update to 50.3.2-4

External References

Related Security Bulletins