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

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2024-32869
GHSA-3MPF-RCC7-5347

Affected Products

Hono
Deno