@hono/node-server@1.19.15

Node.js Adapter for Hono

  • latest version

    2.1.3

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @hono/node-server package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Directory Traversal

    @hono/node-server is a Node.js Adapter for Hono

    Affected versions of this package are vulnerable to Directory Traversal in the serve-static on Windows hosts when an encoded backslash (%5C) in the request path is decoded to \, which the Windows path resolver treats as a separator. This allows an attacker to access static files under a middleware-guarded prefix by crafting a request path containing an encoded backslash. The attack remains within the configured root directory and does not allow escape outside the root.

    How to fix Directory Traversal?

    Upgrade @hono/node-server to version 1.19.17, 2.0.5 or higher.

    <1.19.17>=2.0.0-rc.1 <2.0.5