# Tornado存在HTTP cookie解析拒绝服务漏洞
## 漏洞概述
Tornado 是一个 Python Web 框架和异步网络库。在 Tornado 6.4.2 之前的版本中,用于解析 HTTP Cookies 的算法存在复杂度为二次方的问题,导致在解析恶意构建的 Cookie 头时会消耗过多 CPU。这种解析在事件循环线程中进行,可能会阻塞其他请求的处理。
## 影响版本
- Tornado 6.4.2 之前的版本
## 细节
- 在这些版本中,解析 HTTP Cookies 的算法存在性能问题,导致在解析恶意构造的 Cookie 头时,会发生 CPU 消耗过大。
- 该问题在版本 6.4.2 已经得到修复。
## 影响
- 解析恶意构造的 Cookie 头会消耗过多 CPU,且事件循环线程中的解析过程会阻塞其他请求的处理。
# | POC 描述 | 源链接 | 神龙链接 |
---|
标题: There is a LOW severity vulnerability affecting CPython,... · CVE-2024-7592 · GitHub Advisory Database · GitHub -- 🔗来源链接
标签: x_refsource_MISC
神龙速读标题: HTTP cookie parsing DoS vulnerability · Advisory · tornadoweb/tornado · GitHub -- 🔗来源链接
标签: x_refsource_CONFIRM
神龙速读标题: httputil: Fix quadratic performance of cookie parsing · tornadoweb/tornado@d5ba4a1 · GitHub -- 🔗来源链接
标签: x_refsource_MISC
神龙速读