CVE-2023-54417 json
Nuxt 3.0.0 < 3.4.2 Unauthenticated File Read via vite-node Dev Server
published 10h ago modified 9h ago also EUVD-2023-60735
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
Nuxt 3.0.0 before 3.4.2 contains a semi-arbitrary file read vulnerability in the vite-node dev server middleware that allows unauthenticated attackers to read files by supplying an absolute path as the moduleId. Attackers can send GET requests to /__nuxt_vite_node__/module/ with an absolute file path to read sensitive system files. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-19.
Patch / fix
Is CVE-2023-54417 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Inferred packages
No advisory lists a package for this vulnerability yet. The CVE names these as products and links their GitHub repository, and the package registry names the same repository, so they are probably the affected packages. Low confidence: the versions are the CVE’s own for the product, and a stack check reports the package as unchecked when there are none.
| ecosystem | package | repository | affected |
|---|---|---|---|
| npm | nuxt | nuxt/nuxt | >= 3.0.0, < 3.4.2 |
Affected products
- Nuxt nuxt
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/nuxt/nuxt/pull/20345
patch, issue-tracking
-
github.com
/nuxt/nuxt/commit/886350a27c6b733ae07dfd5f6b8457214aa83fe6
patch, issue-tracking
-
github.com
/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-semi-lfi.yaml
technical-description
-
vulncheck.com
/advisories/nuxt-3.0.0-3.4.1-unauthenticated-file-read-via-vite-node-dev-server
third-party-advisory
-
vulncheck.com
/advisories/nuxt-3.0.0-3.4.2-unauthenticated-file-read-via-vite-node-dev-server
third-party-advisory
Sources
- CVE List CVE-2023-54417
- NVD CVE-2023-54417
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.