CVSS 3.1
4.8 mediumCVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NMedium (4.8) in vitejs vite. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in vite 3.2.11, 4.5.4, 5.1.8.
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:Nvite (npm): fixed in 5.4.6, 5.3.6, 5.2.14, 4.5.4, 3.2.11, 5.1.8Explain CVE-2024-45811 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45811?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45811?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45811 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| vitejs vite | >= 5.4.0, < 5.4.6 |
| vitejs vite | >= 5.3.0, < 5.3.6 |
| vitejs vite | >= 5.0.0, < 5.2.14 |
| vitejs vite | >= 4.0.0, < 4.5.5 |
| vitejs vite | < 3.2.11 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-9cwx-2883-4wfx | npm | vite | >=5.4.0 <5.4.6 | 5.4.6 |
| GHSA-9cwx-2883-4wfx | npm | vite | >=5.3.0 <5.3.6 | 5.3.6 |
| GHSA-9cwx-2883-4wfx | npm | vite | >=5.2.0 <5.2.14 | 5.2.14 |
| GHSA-9cwx-2883-4wfx | npm | vite | >=4.0.0 <4.5.4 | 4.5.4 |
| GHSA-9cwx-2883-4wfx | npm | vite | <3.2.11 | 3.2.11 |
| GHSA-9cwx-2883-4wfx | npm | vite | >=5.0.0 <5.1.8 | 5.1.8 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| openSUSE | Tumbleweed | velociraptor | 0.7.0.4.git142.862ef23-1.1 | openSUSE-SU-2025:14663-1 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.
Red Hat rates this Moderate.
This vulnerability is classified as moderate rather than high severity because it requires specific conditions for exploitation. The attacker must have access to the Vite server, which typically runs in a local development environment rather than in production. Additionally, the bypass allows file access only if the file path is already known or predictable, limiting the attacker's ability to arbitrarily explore the file system. While it exposes file content outside the Vite serving allow list, the scope of access is constrained, and the impact can be mitigated by proper server configurations and deployment practices.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift distributed tracing 3.4 | rhosdt/jaeger-query-rhel8:rhosdt-3.4 | Fixed 2024-12-10 | RHSA-2024:10917 |
| Red Hat OpenShift distributed tracing 3.4 | rhosdt/jaeger-query-rhel8:rhosdt-3.4 | Fixed 2024-12-11 | RHSA-2024:10962 |
| Red Hat Ansible Automation Platform 2 | automation-controller | Affected | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | vite | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-agent-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-collector-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-es-index-cleaner-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-es-rollover-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-ingester-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-query-rhel8 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45811.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17), CWE-200 (59).