@hono/node-server: Authorization bypass for protected static paths via encoded slashes in Serve Static Middleware
概要
@hono/node-server: Authorization bypass for protected static paths via encoded slashes in Serve Static Middleware
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
@hono/node-server allows running the Hono application on Node.js. Prior to version 1.19.10, when using @hono/node-server's static file serving together with route-based middleware protections (e.g. protecting /admin/*), inconsistent URL decoding can allow protected static resources to be accessed without authorization. In particular, paths containing encoded slashes (%2F) may be evaluated differently by routing/middleware matching versus static file path resolution, enabling a bypass where middleware does not run but the static file is still served. This issue has been patched in version 1.19.10.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com