CVE-2021-3177

CRITICAL CVSS 3.1: 9.8 EPSS 24.0%
Updated Oct 14, 2026
NetApp
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions 3.6.0 — 3.9.1
Type CWE-120 (Buffer Copy without Checking Size)
Vendor NetApp
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 15

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 <= 3.6.12
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.7.0 <= 3.7.9
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.8.0 <= 3.8.7
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.9.0 <= 3.9.1
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
— —
Netapp Active_Iq_Unified_Manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
— —
Netapp Active_Iq_Unified_Manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
— —
Netapp Ontap_Select_Deploy_Administration_Utility
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Oracle Communications_Cloud_Native_Core_Network_Function_Cloud_Native_Environment
cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:22.2.0:*:*:*:*:*:*:*
— —
Oracle Communications_Offline_Mediation_Controller
cpe:2.3:a:oracle:communications_offline_mediation_controller:12.0.0.3.0:*:*:*:*:*:*:*
— —
Oracle Communications_Pricing_Design_Center
cpe:2.3:a:oracle:communications_pricing_design_center:12.0.0.3.0:*:*:*:*:*:*:*
— —
Oracle Enterprise_Manager_Ops_Center
cpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:*
— —
Oracle Zfs_Storage_Appliance_Kit
cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
— —

References 29

https://bugs.python.org/issue42938
cve@mitre.org
https://github.com/python/cpython/pull/24239
cve@mitre.org
https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff043…
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2022/02/msg00013.html
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://news.ycombinator.com/item?id=26185005
cve@mitre.org
https://python-security.readthedocs.io/vuln/ctypes-buffer-overflow-pycarg_repr.…
cve@mitre.org
https://security.gentoo.org/glsa/202101-18
cve@mitre.org
https://security.netapp.com/advisory/ntap-20210226-0003/
cve@mitre.org
https://www.oracle.com//security-alerts/cpujul2021.html
cve@mitre.org
https://www.oracle.com/security-alerts/cpujan2022.html
cve@mitre.org
https://www.oracle.com/security-alerts/cpujul2022.html
cve@mitre.org
https://www.oracle.com/security-alerts/cpuoct2021.html
cve@mitre.org
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e