中危 python python 指向未可信站点的url重定向(开放重定向)
CVE编号
CVE-2021-28861利用情况
暂无补丁情况
官方补丁披露时间
2022-08-23漏洞描述
** DISPUTED ** Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states "Warning: http.server is not recommended for production. It only implements basic security checks."解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | python | python | * | From (including) 3.0 | Up to (excluding) 3.10.1 | ||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | python3-idle | * | Up to (excluding) 1.7.1-4 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | platform-python-devel | * | Up to (excluding) 3.6.8-48.el8_7.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | python2.7 | * | Up to (including) 2.7.16-2+deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | python2.7 | * | Up to (including) 2.7.18-8+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | python3.11 | * | Up to (excluding) 3.11.0~b4-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | python3.10 | * | Up to (excluding) 3.10.6-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | python3.7-debugsource | * | Up to (excluding) 7.3.9-4.3.9.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | python3.6 | * | Up to (excluding) 3.10.8-1.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | python3.7-debugsource | * | Up to (excluding) 3.10.8-1.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_38 | python3.6 | * | Up to (excluding) 7.3.9-4.3.9.fc38 | |||||
运行在以下环境 | |||||||||
系统 | fedora_39 | pypy3.10-devel | * | Up to (excluding) 7.3.12-1.3.10.fc39 | |||||
运行在以下环境 | |||||||||
系统 | fedora_40 | pypy3.10-devel | * | Up to (excluding) 7.3.12-1.3.10.fc40 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP1 | python3 | * | Up to (excluding) 3.7.9-20.p03.se.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP2 | python3 | * | Up to (excluding) 3.7.9-20.p04.se.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_loongarch64_V10SP1 | python3 | * | Up to (excluding) 3.7.9-7.p09.se.a.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP1 | python3 | * | Up to (excluding) 3.7.9-20.p04.se.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP2 | python3 | * | Up to (excluding) 3.7.9-20.p04.se.ky10 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_5.2 | libpython3_6m1_0 | * | Up to (excluding) 3.6.15-150300.10.30.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | python3-tools | * | Up to (excluding) 3.9.14-150300.4.16.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | python3-tools | * | Up to (excluding) 3.10.7-150400.4.10.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 3.8.16-1.module+el8.8.0+21001+646f3fba | |||||
运行在以下环境 | |||||||||
系统 | oracle_9 | oraclelinux-release | * | Up to (excluding) 3.9.14-1.el9 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | platform-python-devel | * | Up to (excluding) 3.6.8-48.el8_7.1 | |||||
运行在以下环境 | |||||||||
系统 | redhat_9 | python3.9-debugsource | * | Up to (excluding) 3.9.14-1.el9 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | python36 | * | Up to (excluding) 2.7.18-33.14.2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_22.04 | python3.10 | * | Up to (excluding) 3.10.6-1~22.04.1 | |||||
运行在以下环境 | |||||||||
系统 | unionos_a | python3 | * | Up to (excluding) python36-3.6.8-38.module+uelc20+1121+ce3df0d3 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-601 | 指向未可信站点的URL重定向(开放重定向) |
Exp相关链接

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