Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
fast-uri vulnerable to path traversal via percent-encoded dot segments
Vulnerability Description
fast-uri decoded percent-encoded path separators and dot segments before applying dot-segment removal in its normalize() and equal() functions. Encoded path data was treated like real slashes and parent-directory references, so distinct URIs could collapse onto the same normalized path. Applications that normalize or compare attacker-controlled URLs to enforce path-based policy can be bypassed, with a path that appears confined under an allowed prefix normalizing to a different location. Versions <= 3.1.0 are affected. Update to 3.1.1 or later.
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
fast-uri 路径遍历漏洞
Vulnerability Description
fast-uri是Fastify开源的一个无依赖的RFC 3986 URI解析与工具箱。 fast-uri 3.1.0及之前版本存在路径遍历漏洞,该漏洞源于normalize()和equal()函数在应用点段移除之前解码百分比编码的路径分隔符和点段,编码的路径数据被视为真实斜杠和父目录引用,导致不同URI可能折叠到相同规范化路径,可能绕过基于路径的策略。
CVSS Information
N/A
Vulnerability Type
N/A