RCE in Hono
CVE-2023-50710
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.006, 51.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hono
- Honojs Hono — versions < 3.11.7
Weakness classification (CWE)
References
- https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq (Exploit, Vendor Advisory)
- https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8 (Patch)
- https://github.com/honojs/hono/releases/tag/v3.11.7 (Release Notes)