Cloudflare Wrangler directory traversal vulnerability
Moderate severity
GitHub Reviewed
Published
Aug 3, 2023
in
cloudflare/workers-sdk
•
Updated Nov 8, 2023
Description
Published by the National Vulnerability Database
Aug 3, 2023
Published to the GitHub Advisory Database
Aug 3, 2023
Reviewed
Aug 3, 2023
Last updated
Nov 8, 2023
Impact
The Wrangler command line tool (<=wrangler@3.1.0 or <=wrangler@2.20.1) 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.
Patches
Wrangler2: Upgrade to v2.20.1 or higher.
Wrangler3: Upgrade to v3.1.1 or higher.
References
Workers SDK on Github
Wrangler docs
CVE-2023-3348
References