CVE-2023-50710 Hono's named path parameters can be overridden in TrieRouter
MediumCVSS 4.3
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Hono is a web framework written in TypeScript. Prior to version 3.11.7, clients may override named path parameter values from previous requests if the application is using TrieRouter. So, there is a risk that a privileged user may use unintended parameters when deleting REST API resources. TrieRouter is used either explicitly or when the application matches a pattern that is not supported by the default RegExpRouter. Version 3.11.7 includes the change to fix this issue. As a workaround, avoid using TrieRouter directly.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hono | < 3.11.7 | 3.11.7 | Fixed |
| npm hono(npm) | < 3.11.7 | 3.11.7 | Fixed |
| honojs hono | = < 3.11.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm hono(npm) | < 3.11.7 | 3.11.7 |
| honojs hono | = < 3.11.7 | No fix listed |
| hono | < 3.11.7 | 3.11.7 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8 patch
- https://github.com/honojs/hono/releases/tag/v3.11.7 release-notes
- github.com
- github.com product