CVE-2023-50710
Hono's named path parameters can be overridden in TrieRouter
Reported by github_m · Published December 14, 2023
hono is fixed in 3.11.7 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| hono | npm | 3.11.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| honojs | hono | < 3.11.7 |
| chainguard | hono | * |
| npm | hono | 0 |
| honojs | hono | 0 |
Timeline
- Dec 14, 2023 CVE Published
- Dec 15, 2023 EPSS Score (30 in total, the first dated here)
- Dec 15, 2023 CVE Updated
- Dec 19, 2023 PoC Published (2 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 27, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-50710
vulnetix vdb fixes CVE-2023-50710
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-50710/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq x_refsource_CONFIRM
- https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8 x_refsource_MISC
- https://github.com/honojs/hono/releases/tag/v3.11.7 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-50710 advisory
- https://github.com/advisories/GHSA-f6gv-hh8j-q8vq advisory