漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths
Vulnerability Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, app.mount() strips the mount prefix from the incoming request path using the raw URL pathname, while route matching is performed against the percent-decoded path. This inconsistency causes the prefix to be stripped at the wrong position when the path contains percent-encoded multi-byte characters, resulting in the mounted sub-application receiving an incorrect path. This vulnerability is fixed in 4.12.21.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Vulnerability Type
HTTP请求的解释不一致性(HTTP请求私运)
Vulnerability Title
Hono 安全漏洞
Vulnerability Description
Hono是Hono社区的一个用 TypeScript 编写的 Web 框架。 Hono 4.12.21之前版本存在安全漏洞,该漏洞源于app.mount()使用原始URL路径名去除挂载前缀,而路由匹配针对百分比解码路径执行,导致当路径包含百分比编码的多字节字符时前缀被错误去除,使挂载的子应用程序接收到错误路径。
CVSS Information
N/A
Vulnerability Type
N/A