CVE & CISA-KEV Catalog

CVE-2024-23331

HIGH
7.5
CVSS v3
NVD

Description

Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.

How to fix

Remediation Available
viteNVD
Affected:>= 5.0.0, < 5.0.12Fixed in:5.0.12CVE-2024-23331derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

0.79%probability of exploitation in 30 days
53rdpercentile

Moderate risk: more likely to be exploited than 53% of all known CVEs.

References

Exploit1
Product1

Related Vulnerabilities

Other CWE-178 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-27636Medium5.681%-Fix
CVE-2021-24347High8.854%-Fix
CVE-2020-12812Critical9.849%KEV + RansomFix
CVE-2003-0411High7.525%--
CVE-2018-9845Critical9.813%-Fix
CVE-2001-0766Critical9.88.2%--

Common questions

How do I fix CVE-2024-23331?

Upgrade vite to 5.0.12 or later.

Is CVE-2024-23331 being actively exploited?

Not that we know of. CVE-2024-23331 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.79% is the estimated probability that it will be exploited in the next 30 days. That is higher than 53% of all scored CVEs.

How severe is CVE-2024-23331?

CVE-2024-23331 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-23331 affect?

Published advisories record a fix for vite (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-23331
CVE-2024-23331 severity badge

Markdown

[![CVE-2024-23331](https://tridentstack.com/cve/badge/CVE-2024-23331.svg)](https://tridentstack.com/cve/CVE-2024-23331)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-23331"><img src="https://tridentstack.com/cve/badge/CVE-2024-23331.svg" alt="CVE-2024-23331"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.