Hono 4.13.16 before 4.13.18 Middleware Bypass via mount() Path Forwarding
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| honojshono |
≥ 4.13.16, < 4.13.18→ 4.13.18 |
4.13.18 |
Original description The description as published by the source.
Hono from 4.13.16 before 4.13.18 contains an authorization bypass vulnerability in mount() and app.mount() that forwards an incorrect path when a custom getPath adds a prefix. Unauthenticated attackers can request crafted paths that the mounted application resolves differently, reaching routes protected by path-scoped middleware such as authentication checks.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com