低危 CPython 'PyString_DecodeEscape'函数整数溢出漏洞
CVE编号
CVE-2017-1000158利用情况
暂无补丁情况
官方补丁披露时间
2017-11-17漏洞描述
Python是Python软件基金会的一套开源的、面向对象的程序设计语言,该语言具有可扩展、支持模块和包、支持多种平台等特点。CPython(又名Python)是一款用C语言实现的Python解释器。 CPython 2.7.13及之前的版本中的stringobject.c文件的'PyString_DecodeEscape'函数存在整数溢出漏洞。攻击者可利用该漏洞造成堆缓冲区溢出并可能执行任意代码。解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://bugs.python.org/issue30657受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | python | python | * | Up to (including) 2.7.13 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.4 | python | * | Up to (excluding) 2.7.14-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.5 | python2 | * | Up to (excluding) 2.7.14-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.6 | python2 | * | Up to (excluding) 2.7.14-r0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | python27 | * | Up to (excluding) 3.5.4-13.10.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | python2.7 | * | Up to (excluding) 2.7.13-4 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | python2.7 | * | Up to (excluding) 2.7.13-4 | |||||
运行在以下环境 | |||||||||
系统 | debian_7 | python2.6 | * | Up to (excluding) 2.6.8-1.1+deb7u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_8 | python2.7 | * | Up to (excluding) 2.7.9-2+deb8u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | python2.7 | * | Up to (excluding) 2.7.13-2+deb9u2 | |||||
运行在以下环境 | |||||||||
系统 | fedora_25 | tkinter | * | Up to (excluding) 3.5.4-3.fc25 | |||||
运行在以下环境 | |||||||||
系统 | fedora_26 | python26-debuginfo | * | Up to (excluding) 3.5.4-2.fc26 | |||||
运行在以下环境 | |||||||||
系统 | fedora_27 | python35 | * | Up to (excluding) 2.6.9-10.fc27 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_6 | python34-debuginfo | * | Up to (excluding) 3.4.5-4.el6 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_7 | python34-debuginfo | * | Up to (excluding) 3.4.5-5.el7 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_42.3 | python-doc | * | Up to (excluding) 2.7.13-27.3.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_11_SP4 | python-demo | * | Up to (excluding) 2.6.9-40.3.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_12 | python-devel | * | Up to (excluding) 2.7.13-28.11 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP3 | libpython2_7-1_0-32bit | * | Up to (excluding) 2.7.13-28.3.2 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP4 | libpython3_4m1_0 | * | Up to (excluding) 3.4.10-25.39.2 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | python3 | * | Up to (excluding) 3.4.10-25.39.2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_14.04 | python2.7 | * | Up to (excluding) 3.5.2-2ubuntu0~16.04.4~14.04.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_14.04.6_lts | python2.7 | * | Up to (excluding) 2.7.6-8ubuntu0.4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04 | python2.7 | * | Up to (excluding) 2.7.12-1ubuntu0~16.04.2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | python2.7 | * | Up to (excluding) 2.7.12-1ubuntu0~16.04.2 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 100
CWE-ID | 漏洞类型 |
CWE-190 | 整数溢出或超界折返 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论