Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. wrangler
  4. ›
  5. CVE-2023-3348

CVE-2023-3348: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

August 3, 2023 (updated August 29, 2023)

The Wrangler command line tool (<=wrangler@3.1.0) was affected by a directory traversal vulnerability when running a local development server for Pages (wrangler pages dev command). This vulnerability enabled an attacker in the same network as the victim to connect to the local development server and access the victim’s files present outside of the directory for the development server.

References

  • developers.cloudflare.com/workers/wrangler/
  • github.com/cloudflare/workers-sdk
  • github.com/cloudflare/workers-sdk/security/advisories/GHSA-8c93-4hch-xgxp
  • nvd.nist.gov/vuln/detail/CVE-2023-3348

Code Behaviors & Features

Detect and mitigate CVE-2023-3348 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 3.1.1

Fixed versions

  • 3.1.1

Solution

Upgrade to version 3.1.1 or above.

Impact 5.7 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/wrangler/CVE-2023-3348.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:07 +0000.