CVE-2024-23340

CVSS 3.1 Score 5.3 of 10 (medium)

Details

Published Jan 22, 2024
Updated: Jan 30, 2024
CWE ID 22

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`.

Ligh bulbPrevent 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.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-23340 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions