- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "81E9D1EB-AFE2-43D9-A781-282140779EBF",
"versionEndExcluding": "3.2.7",
"versionStartIncluding": "3.0.2"
},
{
"criteria": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "9A9DC92A-6C2A-48BC-B6B2-365E1589131F",
"versionEndExcluding": "4.0.5",
"versionStartIncluding": "4.0.0"
},
{
"criteria": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "3885C89E-1319-458B-9497-95485DD45953",
"versionEndExcluding": "4.1.5",
"versionStartIncluding": "4.1.0"
},
{
"criteria": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "B0F04F02-C6BA-4BFB-ACD6-96CBF811BB5E",
"versionEndExcluding": "4.2.3",
"versionStartIncluding": "4.2.0"
},
{
"criteria": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "3628D78A-7E86-490F-961F-9C3F538FBCEE",
"versionEndExcluding": "4.3.9",
"versionStartIncluding": "4.3.0"
},
{
"criteria": "cpe:2.3:a:vitejs:vite:2.9.15:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "25EB63DE-73B0-4901-959E-FFF4FAD2CDE5"
}
],
"operator": "OR"
}
]
}
]