Moderate severityNVD Advisory· Published Dec 14, 2023· Updated Aug 2, 2024
Hono's named path parameters can be overridden in TrieRouter
CVE-2023-50710
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
hononpm | < 3.11.7 | 3.11.7 |
Affected products
9- osv-coords8 versionspkg:apk/chainguard/honopkg:apk/chainguard/hono-adapter-mqttpkg:apk/chainguard/hono-clipkg:apk/chainguard/hono-compatpkg:apk/chainguard/hono-service-authpkg:apk/chainguard/hono-service-command-routerpkg:apk/chainguard/hono-service-device-registry-jdbcpkg:npm/hono
< 0+ 7 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 3.11.7
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-f6gv-hh8j-q8vqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-50710ghsaADVISORY
- github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8ghsax_refsource_MISCWEB
- github.com/honojs/hono/releases/tag/v3.11.7ghsax_refsource_MISCWEB
- github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vqghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.