CVE-2021-3177
Critical
Description
Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to c_double.from_param. This occurs because sprintf is used unsafely.
SeverityCritical
CVSS9.8
Exploit probability98. percentile24%
Product
Python
PublishedJan 19, 2021
First seenJan 19, 2021
Weakness typeCWE-120CWE-120
How to fix
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MGSV6BJQLRQ6RKVUXK7JGU7TP4QFGQXC/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NQPARTLNSFQVMMQHPNBFOCOZOO3TMQNA/
- security.gentoo.org/glsa/202101-18
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7GZV74KM72O2PEJN2C4XP3V5Q5MZUOO/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CCFZMVRQUKCBQIG5F2CBVADK63NFSE4A/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRHOCQYX3QLDGDQGTWQAUUT2GGIZCZUO/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXSMBHES3ANXXS2RSO5G6Q24BR4B2PWK/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6XJAULOS5JVB2L67NCKKMJ5NTKZJBSD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDTZVGSXQ7HR7OCGSUHTRNTMBG43OMKU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y4KSYYWMGAKOA2JVCQA422OINT6CKQ7O/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPE7SMXYUIWPOIZV4DQYXODRXMFX3C5E/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCQTCSP6SCVIYNIRUJC5X7YBVUHPLSC4/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python python | 3.6.0 ≤ v ≤ 3.6.12, 3.7.0 ≤ v ≤ 3.7.9, 3.8.0 ≤ v ≤ 3.8.7, 3.9.0 ≤ v ≤ 3.9.1 | — |
| fedoraproject fedora | 32, 33 | — |
| netapp active_iq_unified_manager | No range specified | — |
| netapp ontap_select_deploy_administration_utility | No range specified | — |
| debian debian_linux | 9.0 | — |
| oracle communications_cloud_native_core_network_function_cloud_native_environment | 22.2.0 | — |
| oracle communications_offline_mediation_controller | 12.0.0.3.0 | — |
| oracle communications_pricing_design_center | 12.0.0.3.0 | — |
| oracle enterprise_manager_ops_center | 12.4.0.0 | — |
| oracle zfs_storage_appliance_kit | 8.8 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.