CVE-2023-3348Directory traversal vulnerability in Cloudflare Wrangler
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | wrangler | Fixed | 2.20.1 | GHSA-8c93-4hch-xgxp |
What the vendor says
As published in the CVE record by cloudflare, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Cloudflare Wrangler: affected: 3 to before 3.1.1, 2 to before 2.20.1; fixed in
3.1.1,2.20.1
Solution: Upgrade to wrangler@3.1.1 or higher For wrangler v2 upgrade to wrangler@2.20.1 or higher
Vendor advisories:
References
- https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-8c93-4hch-xgxp
- https://github.com/cloudflare/workers-sdk
- https://developers.cloudflare.com/workers/wrangler/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.