CVE-2023-54417
CVE-2023-54417 · Nuxt 3.0.0 < 3.4.2 Unauthenticated File Read via vite-node Dev Server
CVSS 8.7 · High · EPSS 0.6% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- nuxtUpdate to 3.4.2
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
nuxt
- Versions
- ≥ 3.0.0, < 3.4.2: Affected (semver)
Update to 3.4.2
Original sources
- https://github.com/nuxt/nuxt/pull/20345
- https://github.com/nuxt/nuxt/commit/886350a27c6b733ae07dfd5f6b8457214aa83fe6
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-semi-lfi.yaml
- https://www.vulncheck.com/advisories/nuxt-3.0.0-3.4.1-unauthenticated-file-read-via-vite-node-dev-server
- https://www.vulncheck.com/advisories/nuxt-3.0.0-3.4.2-unauthenticated-file-read-via-vite-node-dev-server
- https://nvd.nist.gov/vuln/detail/CVE-2023-54417