PT-2024-24924 · Deno+1 · Deno+1
Y0D3N
·
Published
2024-04-23
·
Updated
2025-09-17
·
CVE-2024-32869
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Hono versions prior to 4.2.7
Description
The issue allows directory traversal when using serveStatic with deno, potentially resulting in the retrieval of unexpected files, including the contents of
main.ts. This can occur because the serveStatic function does not properly restrict access to the directory where main.ts is located.Recommendations
For versions prior to 4.2.7, update to version 4.2.7 or later to resolve the issue. As a temporary workaround, consider disabling the use of serveStatic with deno until a patch is applied. Restrict access to sensitive files and directories to minimize the risk of exploitation. Avoid using the serveStatic function with deno in sensitive environments until the issue is resolved.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hono
Deno