Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2024-32869

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

April 23, 2024

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

References

  • github.com/advisories/GHSA-3mpf-rcc7-5347
  • github.com/honojs/hono
  • github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65
  • github.com/honojs/hono/security/advisories/GHSA-3mpf-rcc7-5347
  • nvd.nist.gov/vuln/detail/CVE-2024-32869

Code Behaviors & Features

Detect and mitigate CVE-2024-32869 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.2.7

Fixed versions

  • 4.2.7

Solution

Upgrade to version 4.2.7 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/hono/CVE-2024-32869.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.