低危 Python注入漏洞
CVE编号
CVE-2020-26116利用情况
暂无补丁情况
官方补丁披露时间
2020-09-27漏洞描述
Python是Python软件基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python http.client存在注入漏洞。该漏洞源于用户输入构造命令、数据结构或记录的操作过程中,网络系统或产品缺乏对用户输入数据的正确验证,未过滤或未正确过滤掉其中的特殊元素,导致系统或产品产生解析或解释方式错误。以下产品及版本受到影响:Python 3.x系列3.5.10之前版本, 3.6.x系列3.6.12之前版本, 3.7.x系列3.7.9之前版本, 3.8.x系列3.8.5之前版本。解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://python-security.readthedocs.io/vuln/http-header-injection-method.html
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | python | python | * | From (including) 3.0.0 | Up to (excluding) 3.5.10 | ||||
运行在以下环境 | |||||||||
应用 | python | python | * | From (including) 3.6.0 | Up to (excluding) 3.6.12 | ||||
运行在以下环境 | |||||||||
应用 | python | python | * | From (including) 3.7.0 | Up to (excluding) 3.7.9 | ||||
运行在以下环境 | |||||||||
应用 | python | python | * | From (including) 3.8.0 | Up to (excluding) 3.8.5 | ||||
运行在以下环境 | |||||||||
系统 | alibaba_cloud_linux_2.1903 | python-libs | * | Up to (excluding) 2.7.5-92.1.al7 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2 | python | * | Up to (excluding) 3.7.10-1.amzn2.0.1 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | python27 | * | Up to (excluding) 2.7.18-2.140.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_7 | python-tools | * | Up to (excluding) 2.7.5-92.0.1 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | python3-idle | * | Up to (excluding) 3.6.8-24.0.1 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8.2 | platform-python | * | Up to (excluding) 3.6.8-24.0.1 | |||||
运行在以下环境 | |||||||||
系统 | centos_7 | python | * | Up to (excluding) 2.7.5-92.el7_9 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | platform-python-debug | * | Up to (excluding) 3.6.1-11.module+el8.1.0+3446+c3d52da3 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | python2.7 | * | Up to (excluding) 2.7.16-2+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | python2.7 | * | Up to (including) 2.7.18-8+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | python3.5 | * | Up to (excluding) 3.5.3-1+deb9u3 | |||||
运行在以下环境 | |||||||||
系统 | fedora_31 | python2-tools | * | Up to (excluding) 2.7.18-6.fc31 | |||||
运行在以下环境 | |||||||||
系统 | fedora_32 | python27-debuginfo | * | Up to (excluding) 3.8.3-7.fc32 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33 | python2.7-debuginfo | * | Up to (excluding) 2.7.18-6.fc33 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_7 | python34 | * | Up to (excluding) 3.4.10-7.el7 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.1 | python-doc | * | Up to (excluding) 3.6.12-lp151.6.32.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | python-doc | * | Up to (excluding) 3.6.12-lp152.4.14.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_7 | oraclelinux-release | * | Up to (excluding) 2.7.5-92.0.1.el7_9 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 1.3.2-2.module+el8.3.0+7833+4aaf98ce | |||||
运行在以下环境 | |||||||||
系统 | redhat_7 | python | * | Up to (excluding) 2.7.5-92.el7_9 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | platform-python-debug | * | Up to (excluding) 3.6.1-11.module+el8.1.0+3446+c3d52da3 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | python3-urllib3 | * | Up to (excluding) 2.7.17-28.56.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04 | python3.5 | * | Up to (excluding) 3.5.2-2ubuntu0~16.04.12 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | python2.7 | * | Up to (excluding) 2.7.12-1ubuntu0~16.04.13 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | python3.8 | * | Up to (excluding) 3.6.9-1~18.04ubuntu1.3 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | python2.7 | * | Up to (excluding) 2.7.17-1~18.04ubuntu1.2 | |||||
运行在以下环境 | |||||||||
系统 | unionos_d | python2.7 | * | Up to (excluding) 2.7.16.9-deepin1 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 传输被破坏
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-116 | 对输出编码和转义不恰当 |
CWE-74 | 输出中的特殊元素转义处理不恰当(注入) |
Exp相关链接

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