CVE-2024-23340
CVSS 3.1 Score 5.3 of 10 (medium)
Details
Summary
CVE-2024-23340 is a vulnerability affecting the @hono/node-server package used in Hono applications on Node.js. Starting from version 1.3.0, this package uses an unconventional Request object with unexpected URL behavior. Instead of resolving double dots (..) in URLs, it returns the unresolved path. This discrepancy with the standard API can lead to vulnerabilities when using the `serveStatic` function. Modern web browsers and the latest curl command handle double dots on the client side, rendering this issue irrelevant for them. However, potential risks arise when the application is accessed by clients that do not resolve double dots. Version 1.4.1 of @hono/node-server addresses this vulnerability, and a recommended workaround is to avoid using `serveStatic`.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Affected Vendors
- Hono