{"schemaVersion":3,"id":"CVE-2024-23331","aliases":["CGA-5p6p-w95p-g76f","CGA-w9h6-6pq4-chjc","GHSA-c24v-8rfc-w8vw"],"status":"published","duplicateOf":null,"title":null,"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 vite@5.0.12, vite@4.5.2, vite@3.2.8, and vite@2.9.17. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.","dates":{"published":"2024-01-19T19:43:17.404Z","modified":"2025-06-17T21:19:25.323Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00785,"percentile":0.55335,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00785},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00785,"percentile":0.55335}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00785,"percentile":0.55335}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_VITEJS_VITE","name":"Vite","source":"github","url":"https://github.com/vitejs/vite/issues/8498","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity","description":"The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/178.html"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"chainguard","product":"vite","name":"vite","label":"vite","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vite","purlType":"apk","versions":[{"text":"< 5.0.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.12-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vite","name":"vite","label":"vite","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vite","purlType":"apk","versions":[{"text":"< 5.0.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.12-r0","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 2.7.0, < 2.9.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.5.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.7.0, < 2.9.17 | ≥ 3.0.0, < 3.2.8 | ≥ 4.0.0, < 4.5.2 | ≥ 5.0.0, < 5.0.12","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.7.0, < 2.9.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.5.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.7.0, < 2.9.17 | ≥ 3.0.0, < 3.2.8 | ≥ 4.0.0, < 4.5.2 | ≥ 5.0.0, < 5.0.12","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw","label":"github.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5","label":"github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://vitejs.dev/config/server-options.html#server-fs-deny","label":"vitejs.dev/config/server-options.html","hostname":"vitejs.dev","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23331.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23331.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23331","label":"nvd.nist.gov/vuln/detail/CVE-2024-23331","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34092","label":"nvd.nist.gov/vuln/detail/CVE-2023-34092","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite/commit/0cd769c279724cf27934b1270fbdd45d68217691","label":"github.com/vitejs/vite/commit/0cd769c279724cf27934b1270fbdd45d68217691","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vitejs/vite/commit/a26c87d20f9af306b5ce3ff1648be7fa5146c278","label":"github.com/vitejs/vite/commit/a26c87d20f9af306b5ce3ff1648be7fa5146c278","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vitejs/vite/commit/eeec23bbc9d476c54a3a6d36e78455867185a7cb","label":"github.com/vitejs/vite/commit/eeec23bbc9d476c54a3a6d36e78455867185a7cb","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14663-1"],"duplicates":[],"related":["CGA-2838-8GG9-P93Q","CGA-RHQX-9RR2-H824","OPENSUSE-SU-2025:14663-1"]},"timeline":[{"kind":"published","date":"2024-01-19T19:43:17.404Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-17T21:19:25.323Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:54:59.568Z","stale":false,"partial":false}}