CRITICAL · 9.8

CVE-2021-3177

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 untrus...

Vulnerability 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.

CVSS Score

9.8

CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
PythonPython>= 3.6.0, <= 3.6.12
FedoraprojectFedora32
NetappActive Iq Unified Manager-
NetappOntap Select Deploy Administration Utility-
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

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-3177?

CVE-2021-3177 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 untrus...

How severe is CVE-2021-3177?

CVE-2021-3177 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.

Is there a patch for CVE-2021-3177?

Check the references section above for vendor advisories and patch information. Affected products include: Python Python, Fedoraproject Fedora, Netapp Active Iq Unified Manager, Netapp Ontap Select Deploy Administration Utility, Debian Debian Linux.