← All CVEs

CVE-2021-3177

critical · 9.8

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.

9.8
CVSS
23.3%
EPSS (exploit prob.)
98th
EPSS percentile
2021-01-19
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-120

Affected products

VendorProductAffected versions
pythonpython>= 3.6.0, <= 3.6.12
pythonpython>= 3.7.0, <= 3.7.9
pythonpython>= 3.8.0, <= 3.8.7
pythonpython>= 3.9.0, <= 3.9.1
fedoraprojectfedora32
fedoraprojectfedora33
netappactive_iq_unified_managerall versions
netappactive_iq_unified_managerall versions
netappontap_select_deploy_administration_utilityall versions
debiandebian_linux9.0
oraclecommunications_cloud_native_core_network_function_cloud_native_environment22.2.0
oraclecommunications_offline_mediation_controller12.0.0.3.0
oraclecommunications_pricing_design_center12.0.0.3.0
oracleenterprise_manager_ops_center12.4.0.0
oraclezfs_storage_appliance_kit8.8

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2021-3177