漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
Vulnerability Description
HTTPX2 is a next generation HTTP client for Python. Prior to 2.11.0, FileField.render_headers() in src/httpx2/httpx2/_multipart.py directly interpolates attacker-controlled content_type values and custom headers from the files= three-element (filename, content, content_type) tuple and the files= four-element (filename, content, content_type, headers) tuple into multipart/form-data part headers without validating header names or values. CR or LF characters can terminate a part header, inject additional part headers, or end the part header block early, allowing a downstream multipart parser to treat attacker-supplied lines as genuine headers and potentially alter part semantics or bypass header-based checks. This issue is fixed in version 2.11.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Vulnerability Title
Pydantic HTTPX2 输入验证错误漏洞
Vulnerability Description
Pydantic HTTPX2是Pydantic组织的一个支持HTTP/2协议的异步HTTP客户端库。 Pydantic HTTPX2 2.11.0之前版本存在输入验证错误漏洞,该漏洞源于FileField.render_headers()函数未验证头部名称或值,攻击者可通过CR或LF字符终止或注入额外头部,可能导致下游multipart解析器错误解析并绕过基于头部的检查。
CVSS Information
N/A
Vulnerability Type
N/A