Hono 4.13.11 before 4.13.18 Middleware Bypass via serveStatic allowPercentInPath
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| honojshono |
≥ 4.13.11, < 4.13.18→ 4.13.18 |
4.13.18 |
Original description The description as published by the source.
Hono from 4.13.11 before 4.13.18 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting a second path decode when allowPercentInPath is enabled. Attackers can send malformed percent-encoded sequences so the router matches an encoded path while serveStatic serves the real file, bypassing authentication checks.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com