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
@fastify/static vulnerable to route guard bypass via encoded path separators
Vulnerability Description
@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2F) before filesystem resolution, while Fastify's router treats them as literal characters. This mismatch allows attackers to bypass route-based middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
URL编码处理不恰当(Hex编码)
Vulnerability Title
Fastify-Static 安全漏洞
Vulnerability Description
Fastify-Static是Fastify开源的一个插件。用于尽快提供静态文件。 Fastify-Static 8.0.0至9.1.0版本存在安全漏洞,该漏洞源于解码百分号编码的路径分隔符,可能导致绕过基于路由的中间件或防护。
CVSS Information
N/A
Vulnerability Type
N/A