なぜ漏れた国内の不正アクセス・情報漏えいの原因と再発防止

重大な脆弱性 > 年ごと > 2021 年 > CVE-2021-3177

Python(CPython) の脆弱性

CVE-2021-3177CVSS 9.8

概要

CVECVE-2021-3177
対象Python(CPython)
言語の本体Python(CPython)
公表2021-01-19
深刻度Critical(CVSS v3.1 9.8)

公式の説明

Python(CPython) の説明
Python 3.9.1 までの 3.x の _ctypes/callproc.c にある PyCArg_repr にバッファーオーバーフローがあり、浮動小数点数を信頼できない入力として受け付ける一部の Python アプリケーションでリモートコード実行につながる可能性がある。c_double.from_param に 1e300 を渡すことで実証されている。
原文(英語)
Title
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.

日本語は原文を機械翻訳し、自動で校正したものです。食い違うときは原文を正としてください。

国内で被害を公表した事案

このサイトに登録した事案のうち、この脆弱性が侵入経路と公表されたものはまだありません。

出典・参考

← 2021 年の重大な脆弱性の一覧へ