Vulnerability detail

CVE-2021-3177

緊急

Pythonに関する脆弱性

公開: 2021/01/19 更新: 2026/10/14

概要

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.

影響を受ける製品・バージョン

製品 対象バージョン 修正版 状態
Python >= 3.6.0 / <= 3.6.12 - 確認中
Python >= 3.7.0 / <= 3.7.9 - 確認中
Python >= 3.8.0 / <= 3.8.7 - 確認中
Python >= 3.9.0 / <= 3.9.1 - 確認中