漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
Vulnerability Description
HTTPX2 is a next generation HTTP client for Python. From 2.5.0 until 2.10.0, the HTTPX2 Server-Sent Events parser in src/httpx2/httpx2/_sse.py repeatedly copies and rescans buffered text in _SSELineDecoder.decode() when an attacker-controlled or compromised SSE endpoint splits one unterminated line across many response chunks. The behavior affects httpx2.Client.sse() and httpx2.AsyncClient.sse(), and the total processing work grows quadratically with the line length, allowing a crafted stream to consume excessive CPU and block a synchronous worker or asynchronous event loop. This issue is fixed in version 2.10.0.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
算法复杂性
Vulnerability Title
Pydantic HTTPX2 资源管理错误漏洞
Vulnerability Description
Pydantic HTTPX2是Pydantic组织的一个支持HTTP/2协议的异步HTTP客户端库。 Pydantic HTTPX2 2.5.0版本至2.10.0之前版本存在资源管理错误漏洞,该漏洞源于src/httpx2/httpx2/_sse.py中的_SSELineDecoder.decode()函数反复复制和重新扫描缓冲文本,导致处理工作量随行长度二次增长,可能允许攻击者通过特制流消耗过多CPU并阻塞同步工作线程或异步事件循环。
CVSS Information
N/A
Vulnerability Type
N/A