漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
fast-uri vulnerable to host confusion via failed IDN canonicalization
Vulnerability Description
fast-uri versions 2.3.1 through 3.1.2 and 4.0.0 fail to canonicalize Unicode (IDN) hostnames for HTTP-family URLs. The IDN conversion path calls a helper that does not exist on the global URL constructor, silently leaving the host in its original Unicode form while normalize() and equal() still return values that differ from a WHATWG-compatible URL parser. Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL to Node's URL or fetch can be bypassed when the two implementations resolve the same input to different hosts. Patches: upgrade to fast-uri 3.1.3 for the 3.x line or 4.0.1 for the 4.x line. Workarounds: enforce host policy using the same URL parser used for the actual request, or reject non-ASCII hosts before policy checks.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vulnerability Type
解释冲突
Vulnerability Title
Fastify fast-uri 处理逻辑错误漏洞
Vulnerability Description
fast-uri fast-uri是fast-uri的Web中间件。 fast-uri 2.3.1版本至3.1.2版本和4.0.0版本存在处理逻辑错误漏洞,该漏洞源于未能规范化HTTP系列URL的Unicode (IDN) 主机名。IDN转换路径调用了一个全局URL构造函数中不存在的辅助程序,导致主机名保持原始Unicode形式,而normalize()和equal()返回的值与WHATWG兼容的URL解析器不同。当应用使用fast-uri实施基于主机的策略(如黑名单、回环过滤、重定向验证、出站代理路由)
CVSS Information
N/A
Vulnerability Type
N/A