Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-32869 EUVD-2024-1083GHSA-3mpf-rcc7-5347

Hono vulnerable to Restricted Directory Traversal in serveStatic with deno

Published Apr 23, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
honojs hono < 4.2.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.2.7 4.2.7 GHSA-3mpf-rcc7-5347

References