gsd-2023-34092
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-34092", "id": "GSD-2023-34092" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-34092" ], "details": "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 (`[\u0027.env\u0027, \u0027.env.*\u0027, \u0027*.{crt,pem}\u0027]`). 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.", "id": "GSD-2023-34092", "modified": "2023-12-13T01:20:30.384659Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-34092", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "vite", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 2.9.16" }, { "version_affected": "=", "version_value": "\u003e= 3.0.2, \u003c 3.2.7" }, { "version_affected": "=", "version_value": "\u003e= 4.0.0, \u003c 4.0.5" }, { "version_affected": "=", "version_value": "\u003e= 4.1.0, \u003c 4.1.5" }, { "version_affected": "=", "version_value": "\u003e= 4.2.0, \u003c 4.2.3" }, { "version_affected": "=", "version_value": "\u003e= 4.3.0, \u003c 4.3.9" } ] } } ] }, "vendor_name": "vitejs" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "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 (`[\u0027.env\u0027, \u0027.env.*\u0027, \u0027*.{crt,pem}\u0027]`). 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." } ] }, "impact": { "cvss": [ { "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" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-50", "lang": "eng", "value": "CWE-50: Path Equivalence: \u0027//multiple/leading/slash\u0027" } ] }, { "description": [ { "cweId": "CWE-200", "lang": "eng", "value": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67", "refsource": "MISC", "url": "https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67" }, { "name": "https://github.com/vitejs/vite/pull/13348", "refsource": "MISC", "url": "https://github.com/vitejs/vite/pull/13348" }, { "name": "https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32", "refsource": "MISC", "url": "https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32" } ] }, "source": { "advisory": "GHSA-353f-5xf4-qw67", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "=2.9.15||\u003e=3.0.2 \u003c3.2.7||\u003e=4.0.0 \u003c4.0.5||\u003e=4.1.0 \u003c4.1.5||\u003e=4.2.0 \u003c4.2.3||\u003e=4.3.0 \u003c4.3.9", "affected_versions": "Version 2.9.15, all versions starting from 3.0.2 before 3.2.7, all versions starting from 4.0.0 before 4.0.5, all versions starting from 4.1.0 before 4.1.5, all versions starting from 4.2.0 before 4.2.3, all versions starting from 4.3.0 before 4.3.9", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-706", "CWE-937" ], "date": "2023-06-09", "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 (`[\u0027.env\u0027, \u0027.env.*\u0027, \u0027*.{crt,pem}\u0027]`). 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.", "fixed_versions": [ "2.9.16", "3.2.7", "4.0.5", "4.1.5", "4.2.3", "4.3.9" ], "identifier": "CVE-2023-34092", "identifiers": [ "CVE-2023-34092", "GHSA-353f-5xf4-qw67" ], "not_impacted": "All versions before 2.9.15, all versions after 2.9.15 before 3.0.2, all versions starting from 3.2.7 before 4.0.0, all versions starting from 4.0.5 before 4.1.0, all versions starting from 4.1.5 before 4.2.0, all versions starting from 4.2.3 before 4.3.0, all versions starting from 4.3.9", "package_slug": "npm/vite", "pubdate": "2023-06-01", "solution": "Upgrade to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9 or above.", "title": "Use of Incorrectly-Resolved Name or Reference", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2023-34092", "https://github.com/vitejs/vite/pull/13348", "https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32", "https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67" ], "uuid": "ed38d0de-89e5-4854-b5ca-78e03a89732d" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "4.3.9", "versionStartIncluding": "4.3.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "4.2.3", "versionStartIncluding": "4.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "4.1.5", "versionStartIncluding": "4.1.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "4.0.5", "versionStartIncluding": "4.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "3.2.7", "versionStartIncluding": "3.0.2", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:vitejs:vite:2.9.15:*:*:*:*:node.js:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-34092" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "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 (`[\u0027.env\u0027, \u0027.env.*\u0027, \u0027*.{crt,pem}\u0027]`). 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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-706" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/vitejs/vite/pull/13348", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/vitejs/vite/pull/13348" }, { "name": "https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32" }, { "name": "https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67", "refsource": "MISC", "tags": [ "Exploit", "Vendor Advisory" ], "url": "https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "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" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2023-06-09T16:03Z", "publishedDate": "2023-06-01T17:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.