中危 Werkzeug 在解析包含大部分开头带有 CR/LF 字符的 multipart/form-data 时容易受到高资源使用率的影响 (CVE-2023-46136)
CVE编号
CVE-2023-46136利用情况
暂无补丁情况
官方补丁披露时间
2023-10-16漏洞描述
Werkzeug is a comprehensive WSGI web application library. If an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. This vulnerability has been patched in version 3.0.1.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | palletsprojects | werkzeug | * | Up to (excluding) 3.0.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | python-werkzeug | * | Up to (including) 0.14.1+dfsg1-4+deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | python-werkzeug | * | Up to (including) 1.0.1+dfsg1-2+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | python-werkzeug | * | Up to (including) 2.2.2-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | python-werkzeug | * | Up to (including) 2.2.2-3 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-787 | 跨界内存写 |
Exp相关链接

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