{"schemaVersion":3,"id":"CVE-2024-45811","aliases":["CGA-7c99-fr97-893h","CGA-7xqq-wmp8-52px","GHSA-9cwx-2883-4wfx"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-09-17T20:08:11.801Z","modified":"2024-09-18T14:06:21.732Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.8,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":3.1,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":3.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01096,"percentile":0.65091,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.03799999999999984,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01058},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01096,"percentile":0.65091}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01058,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01096,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01096,"percentile":0.65091}]},"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":"chainguard","product":"vite","name":"vite","label":"vite","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vite","purlType":"apk","versions":[{"text":"< 5.4.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.6-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.4.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.6-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":"≥ 5.4.0, < 5.4.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.3.0, < 5.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.2.0, < 5.2.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.5.4","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.1.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.4.0, < 5.4.6 | ≥ 5.3.0, < 5.3.6 | ≥ 5.2.0, < 5.2.14 | ≥ 4.0.0, < 4.5.4 | < 3.2.11 | ≥ 5.0.0, < 5.1.8","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.4.0, < 5.4.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.3.0, < 5.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.2.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.5.5","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.4.0, < 5.4.6 | ≥ 5.3.0, < 5.3.6 | ≥ 5.0.0, < 5.2.14 | ≥ 4.0.0, < 4.5.5 | < 3.2.11","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-9cwx-2883-4wfx","label":"github.com/vitejs/vite/security/advisories/GHSA-9cwx-2883-4wfx","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34","label":"github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45811.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45811.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45811","label":"nvd.nist.gov/vuln/detail/CVE-2024-45811","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite/commit/4573a6fd6f1b097fb7296a3e135e0646b996b249","label":"github.com/vitejs/vite/commit/4573a6fd6f1b097fb7296a3e135e0646b996b249","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vitejs/vite/commit/8339d7408668686bae56eaccbfdc7b87612904bd","label":"github.com/vitejs/vite/commit/8339d7408668686bae56eaccbfdc7b87612904bd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vitejs/vite/commit/a6da45082b6e73ddfdcdcc06bb5414f976a388d6","label":"github.com/vitejs/vite/commit/a6da45082b6e73ddfdcdcc06bb5414f976a388d6","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vitejs/vite/commit/b901438f99e667f76662840826eec91c8ab3b3e7","label":"github.com/vitejs/vite/commit/b901438f99e667f76662840826eec91c8ab3b3e7","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-2RRM-CFWM-848J","CGA-WFWJ-7MRG-M7C4","OPENSUSE-SU-2025:14663-1"]},"timeline":[{"kind":"published","date":"2024-09-17T20:08:11.801Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-18T14:06:21.732Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:08:38.615Z","stale":false,"partial":false}}