CVEvulnerability

CVE-2021-3177

9.8 CRITICAL Published 2021-01-19 Modified 2026-10-14 Official page ↗
Status
Modified
Published
2021-01-19
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-120

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.

Affected configurations

• python python (>= 3.6.0 <= 3.6.12) • python python (>= 3.7.0 <= 3.7.9) • python python (>= 3.8.0 <= 3.8.7) • python python (>= 3.9.0 <= 3.9.1) • fedoraproject fedora 32 • fedoraproject fedora 33 • netapp active iq unified manager • netapp ontap select deploy administration utility • 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

Related

Weakness · CWE (1)

  • CWE-120 Buffer Copy without Checking Size of Input weakness

References