# CVE-2024-45811: server.fs.deny bypassed when using ?import&raw in vite - Exploited (CISA KEV): no - Published: 2024-09-17 - CVSS: 4.8 MEDIUM (v3.1) - EPSS: 1.1% (66th percentile) - CWE: CWE-200, CWE-284 Vite a frontend build tooling framework for javascript. In affected versions the contents of arbitrary files can be returned to the browser. `@fs` denies access to files outside of Vite serving allow list. Adding `?import&raw` to the URL bypasses this limitation and returns the file content if it exists. This issue has been patched in versions 5.4.6, 5.3.6, 5.2.14, 4.5.5, and 3.2.11. Users are advised to upgrade. There are no known workarounds for this vulnerability. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Before feed history | — | — | | AWS | No public claim | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | No public claim | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2024-11-12 | 56 | | Akamai | No public source | — | — | | OWASP CRS | No public claim | — | — | ### F5 - 2024-11-12 · new · rule 200009324 > Added: signature 200009324 "Vite Framework Arbitrary File Read" (Information Leakage, risk Medium), systems: Other Web Server, JavaScript. References: CVE-2024-45811. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2024-45811 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2024-45811