Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nuxt/devtools
  4. ›
  5. CVE-2024-23657

CVE-2024-23657: Nuxt Devtools has a Path Traversal: '../filedir'

August 5, 2024

Nuxt Devtools is missing authentication on the getTextAssetContent RPC function which is vulnerable to path traversal. Combined with a lack of Origin checks on the WebSocket handler, an attacker is able to interact with a locally running devtools instance and exfiltrate data abusing this vulnerability.

In certain configurations an attacker could leak the devtools authentication token and then abuse other RPC functions to achieve RCE.

References

  • github.com/advisories/GHSA-rcvg-rgf7-pppv
  • github.com/nuxt/devtools/blob/c4f2b68281203fc3f61ffc97d9c6623fbfde46bb/packages/devtools/src/server-rpc/assets.ts
  • github.com/nuxt/devtools/blob/c4f2b68281203fc3f61ffc97d9c6623fbfde46bb/packages/devtools/src/server-rpc/index.ts
  • github.com/nuxt/nuxt
  • github.com/nuxt/nuxt/security/advisories/GHSA-rcvg-rgf7-pppv
  • nvd.nist.gov/vuln/detail/CVE-2024-23657

Code Behaviors & Features

Detect and mitigate CVE-2024-23657 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.9

Fixed versions

  • 1.3.9

Solution

Upgrade to version 1.3.9 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-24: Path Traversal: '../filedir'

Source file

npm/@nuxt/devtools/CVE-2024-23657.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.