@hono/node-server@1.19.18

Node.js Adapter for Hono

  • latest version

    2.1.11

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    14 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
    • M
    Double Decoding of the Same Data

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

    Affected versions of this package are vulnerable to Double Decoding of the Same Data via the serveStatic middleware in src/serve-static.ts, where a percent-encoded path sequence in a request URL is decoded by tryDecodeURI before the path traversal check is applied. An attacker can supply a percent-encoded traversal sequence (e.g. %2e%2e) in the request path to escape the intended static file root and read arbitrary files from the server's filesystem.

    How to fix Double Decoding of the Same Data?

    Upgrade @hono/node-server to version 1.19.19, 2.1.3 or higher.

    >=1.19.10 <1.19.19>=2.0.0 <2.1.3