CVE-2023-50710

Hono's named path parameters can be overridden in TrieRouter

Published Dec 14, 2023 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-3193 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.
Github GHSA Github GHSA GHSA-f6gv-hh8j-q8vq Named path parameters can be overridden in TrieRouter
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 10:16 PM
Reserved
Dec 11, 2023, 5:53 PM
Status
Modified
Published
Dec 14, 2023, 6:15 PM
Modified
Jun 17, 2026, 6:39 AM