CVE-2021-3177
python2.7 - security update
9.8
CRITICAL
CVSS 3.1
EPSS 23.3%
描述
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.
如何修補 CVE-2021-3177
要修補 CVE-2021-3177,請將受影響套件升級到下列已修補版本。
- —升級至 3.7.7-r2 或更新版本
- —升級至 3.6.13 或更新版本
- —升級至 3.6.13 或更新版本
- —升級至 3.6.13 或更新版本
- —升級至 2.7.18-2 或更新版本
- —升級至 2.7.13-2+deb9u6 或更新版本
- —升級至 3.9.1-3 或更新版本
CVE-2021-3177 正在被利用嗎?
中等 — EPSS 為 23.3%,可持續追蹤但非最高優先。
受影響套件(7)
- from 0, < 3.7.7-r2
- from 0, < 3.6.13, >= 3.7.0, < 3.7.10, >= 3.8.0, < 3.8.8, >= 3.9.0, < 3.9.2
- from 0, < 3.6.13, >= 3.7.0, < 3.7.10, >= 3.8.0, < 3.8.8, >= 3.9.0, < 3.9.2
- from 0, < 3.6.13, >= 3.7.0, < 3.7.10, >= 3.8.0, < 3.8.8, >= 3.9.0, < 3.9.2
- from 0, < 2.7.18-2
- from 0, < 2.7.13-2+deb9u6
- from 0, < 3.9.1-3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |