SCA: security update for @hono/node-server (GHSA-rjq5-w47x-x359)

medium Tenable Cloud Security Plugin ID 418790

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- @hono/node-server is an adapter that allows users to run Hono applications on Node.js. Since v1.3.0,
@hono/node-server has used its own Request object with `url` behavior that is unexpected. In the standard
API, if the URL contains `..`, here called "double dots", the URL string returned by Request will be in
the resolved path. However, the `url` in @hono/node-server's Request as does not resolve double dots, so
`http://localhost/static/.. /foo.txt` is returned. This causes vulnerabilities when using `serveStatic`.
Modern web browsers and a latest `curl` command resolve double dots on the client side, so this issue
doesn't affect those using either of those tools. However, problems may occur if accessed by a client that
does not resolve them. Version 1.4.1 includes the change to fix this issue. As a workaround, don't use
`serveStatic`. (CVE-2024-23340)

See Also

https://github.com/advisories/GHSA-rjq5-w47x-x359

Plugin Details

Severity: Medium

ID: 418790

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2024-23340

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/23/2024

Vulnerability Publication Date: 1/22/2024

Reference Information

CVE: CVE-2024-23340

cwe: CWE-22