SCA: security update for vite (GHSA-356w-63v5-8wf4)

medium Tenable Self-Hosted Container Security Plugin ID 424831

Description

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

- Vite is a frontend tooling framework for javascript. Prior to 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13,
the contents of arbitrary files can be returned to the browser if the dev server is running on Node or
Bun. HTTP 1.1 spec (RFC 9112) does not allow # in request-target. Although an attacker can send such a
request. For those requests with an invalid request-line (it includes request-target), the spec recommends
to reject them with 400 or 301. The same can be said for HTTP 2. On Node and Bun, those requests are not
rejected internally and is passed to the user land. For those requests, the value of
http.IncomingMessage.url contains #. Vite assumed req.url won't contain # when checking server.fs.deny,
allowing those kinds of requests to bypass the check. Only apps explicitly exposing the Vite dev server to
the network (using --host or server.host config option) and running the Vite dev server on runtimes that
are not Deno (e.g. Node, Bun) are affected. This vulnerability is fixed in 6.2.6, 6.1.5, 6.0.15, 5.4.18,
and 4.5.13. (CVE-2025-32395)

See Also

https://github.com/advisories/GHSA-356w-63v5-8wf4

Plugin Details

Severity: Medium

ID: 424831

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/11/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.49

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2025-32395

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 5.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/11/2025

Vulnerability Publication Date: 4/10/2025

Reference Information

CVE: CVE-2025-32395

cwe: CWE-200