
Cloud Vulnerability DB
A community-led vulnerabilities database
Hono, a web application framework supporting JavaScript runtime, was found to contain a directory traversal vulnerability (CVE-2024-32869) prior to version 4.2.7. The vulnerability specifically affects the serveStatic functionality when used with Deno, allowing attackers to traverse directories where main.ts is located, potentially exposing unexpected files (GitHub Advisory).
The vulnerability exists in the serveStatic middleware when used with Deno implementations. The issue stems from improper path handling that allows directory traversal through the URL path. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. The weakness has been categorized as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) (GitHub Advisory).
When exploited, this vulnerability allows attackers to access and retrieve files outside of the intended directory structure. Specifically, attackers can access files located in the directory where main.ts is located, potentially exposing sensitive application files that were not intended to be publicly accessible (GitHub Advisory).
The vulnerability can be exploited by sending specially crafted URLs containing path traversal sequences. For example, accessing /static/%2e%2e/main.ts allows retrieval of the main.ts file content from the parent directory. The exploit requires no special privileges or user interaction, making it relatively straightforward to execute (GitHub Advisory).
The vulnerability has been patched in version 4.2.7 of Hono. Users are advised to upgrade to this version or later to address the security issue (GitHub Advisory, GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."