What’s Vulnerable › Vulnerabilities

CVE-2024-32869: Hono vulnerable to Restricted Directory Traversal in serveStatic with deno

Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.2.7, when using serveStatic with deno, it is possible to traverse the directory where `main.ts` is located. This can result in retrieval of unexpected files. Version 4.2.7 contains a patch for the issue.

Affected products

How to fix

Upgrade to a fixed version: honojs hono 4.2.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-32869 or the next vulnerability affects your stack