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)
EPSS: 0.006 (46.9th percentile) — read the EPSS interpretation.
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.
Affected products
- Hono
- Honojs Hono — versions < 3.11.7
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2023-50710?
- CVE-2023-50710 is a medium-severity vulnerability in Hono, classified under Code Injection. CVSS score: 4.2/10. Published 2023-12-14.
- How severe is CVE-2023-50710?
- Medium severity. CVSS v3 base score is 4.2 out of 10.