VDB

GHSA-8jhw-289h-jh2g

GHSA-8jhw-289h-jh2g PUBLISHED CVSS 5.900000095367432 MEDIUM

Vite's `server.fs.deny` did not deny requests for patterns with directories.

Record from GitHub Advisory Database · Published April 3, 2024

vite is fixed in 5.2.6, 5.1.7, 5.0.13 and 3 more (npm)

Vite's `server.fs.deny` did not deny requests for patterns with directories.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vitenpm5.2.6, 5.1.7, 5.0.13, 4.5.3, 3.2.10, 2.9.18

Risk scores

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

Affected products

VendorProductVersions
npmvite2.7.0, 3.0.0, 4.0.0

Timeline

  • Apr 3, 2024 CVE Published
  • Apr 29, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-8jhw-289h-jh2g
vulnetix vdb fixes GHSA-8jhw-289h-jh2g

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/GHSA-8jhw-289h-jh2g/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›