漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
Vulnerability Description
fast-uri is a URI parser for Node.js. It canonicalizes a host to its ASCII form only when the input carries an explicit scheme, so a scheme-relative reference such as a host preceded by two slashes is returned with its host verbatim and no error set. As a result fast-uri's own entry points disagree with each other: parse, resolve, normalize, and equal can yield different hosts for the same input depending only on whether a scheme is written out, and equal can return opposite verdicts for the same pair of hosts. An application that extracts a host with fast-uri to check it against a policy list and then resolves the same reference can make its decision on one host while the destination is another, enabling host confusion and policy bypass. The affected versions are 2.4.2 up to but not including 2.4.5, 3.1.3 up to but not including 3.1.6, and 4.0.1 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which canonicalize the host consistently across the resolve path. Users should upgrade to a patched version.
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
Fastify fast-uri是Fastify团队的一个URI解析工具。 Fastify fast-uri 2.4.2至2.4.5之前版本、3.1.3至3.1.6之前版本和4.0.1至4.1.3之前版本存在处理逻辑错误漏洞,该漏洞源于主机规范化处理不完善,仅当输入携带显式scheme时才将主机规范化为ASCII形式,导致不同入口函数对同一输入返回不同主机,可能造成主机混淆和安全策略绕过。
CVSS Information
N/A
Vulnerability Type
N/A