{"id":"CVE-2023-34092","state":"PUBLISHED","title":"Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)","description":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.","publishedAt":"2023-06-01T16:29:51.428Z","updatedAt":"2025-01-08T21:13:20.258Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["vitejs vite"],"affected":[{"vendor":"vitejs","product":"vite","versions":[{"version":"< 2.9.16","status":"affected"},{"version":">= 3.0.2, < 3.2.7","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"},{"version":">= 4.1.0, < 4.1.5","status":"affected"},{"version":">= 4.2.0, < 4.2.3","status":"affected"},{"version":">= 4.3.0, < 4.3.9","status":"affected"}]}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","https://github.com/vitejs/vite/pull/13348","https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32"],"weaknesses":["CWE-50","CWE-200"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/34xxx/CVE-2023-34092.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-34092","state":"PUBLISHED","datePublished":"2023-06-01T16:29:51.428Z","dateUpdated":"2025-01-08T21:13:20.258Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-05-25T21:56:51.244Z"},"containers":{"cna":{"title":"Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)","descriptions":[{"lang":"en","value":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16."}],"affected":[{"vendor":"vitejs","product":"vite","versions":[{"version":"< 2.9.16","status":"affected"},{"version":">= 3.0.2, < 3.2.7","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"},{"version":">= 4.1.0, < 4.1.5","status":"affected"},{"version":">= 4.2.0, < 4.2.3","status":"affected"},{"version":">= 4.3.0, < 4.3.9","status":"affected"}]}],"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","name":"https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitejs/vite/pull/13348","name":"https://github.com/vitejs/vite/pull/13348","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","name":"https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-50","lang":"en","description":"CWE-50: Path Equivalence: '//multiple/leading/slash'","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-06-01T16:29:51.428Z"},"source":{"advisory":"GHSA-353f-5xf4-qw67","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","name":"https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/vitejs/vite/pull/13348","name":"https://github.com/vitejs/vite/pull/13348","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","name":"https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T16:01:53.638Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-08T21:13:03.335508Z","id":"CVE-2023-34092","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-08T21:13:20.258Z"}}]}}}