{"schemaVersion":3,"id":"CVE-2024-31207","aliases":["GHSA-8jhw-289h-jh2g"],"status":"published","duplicateOf":null,"title":null,"description":"Vite (French word for \"quick\", pronounced /vit/, like \"veet\") is a frontend build tooling to improve the frontend development experience.`server.fs.deny` does not deny requests for patterns with directories. This vulnerability has been patched in version(s) 5.2.6, 5.1.7, 5.0.13, 4.5.3, 3.2.10 and 2.9.18.","dates":{"published":"2024-04-04T15:51:54.683Z","modified":"2024-08-02T01:46:04.483Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/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":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/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 · Npm","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00711,"percentile":0.52765,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00711},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00711,"percentile":0.52765}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00711,"percentile":0.52765}]},"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":[],"exploitCount":0,"weaknesses":[{"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":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 2.7.0, < 2.9.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.5.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1.0, < 5.1.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.2.0, < 5.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.7.0, < 2.9.18 | ≥ 3.0.0, < 3.2.10 | ≥ 4.0.0, < 4.5.3 | ≥ 5.0.0, < 5.0.13 | ≥ 5.1.0, < 5.1.7 | ≥ 5.2.0, < 5.2.6","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},{"text":"≥ 5.1.0, ≤ 5.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.2.0, ≤ 5.2.5","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 | ≥ 5.1.0, ≤ 5.1.6 | ≥ 5.2.0, ≤ 5.2.5","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g","label":"github.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/vitejs/vite/commit/011bbca350e447d1b499d242804ce62738c12bc0","label":"github.com/vitejs/vite/commit/011bbca350e447d1b499d242804ce62738c12bc0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/vite/commit/5a056dd2fc80dbafed033062fe6aaf4717309f48","label":"github.com/vitejs/vite/commit/5a056dd2fc80dbafed033062fe6aaf4717309f48","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/vite/commit/89c7c645f09d16a38f146ef4a1528f218e844d67","label":"github.com/vitejs/vite/commit/89c7c645f09d16a38f146ef4a1528f218e844d67","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9","label":"github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258","label":"github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitejs/vite/commit/d2db33f7d4b96750b35370c70dd2c35ec3b9b649","label":"github.com/vitejs/vite/commit/d2db33f7d4b96750b35370c70dd2c35ec3b9b649","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31207","label":"nvd.nist.gov/vuln/detail/CVE-2024-31207","hostname":"nvd.nist.gov","tags":["Advisory"]},{"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":["OPENSUSE-SU-2025:14663-1"]},"timeline":[{"kind":"published","date":"2024-04-04T15:51:54.683Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T01:46:04.483Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:16:43.095Z","stale":false,"partial":false}}