Directory traversal vulnerability in Cloudflare Wrangler
Medium5.7CVE-2023-3348 · Published Aug 3, 2023 · updated Aug 29, 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](https://github.com/cloudflare/workers-sdk) [Wrangler docs](https://developers.cloudflare.com/workers/wrangler/) [CVE-2023-3348](https://www.cve.org/CVERecord?id=CVE-2023-3348)
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| wrangler npm | < 3.1.1 | 3.1.1 |
| < 2.20.1 | 2.20.1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-23
More Cloudflare advisories
All Cloudflare| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Dec 122023 | Unbounded queuing of path validation messages in cloudflare-quiche | Medium5.3 | 0.19.1 |
| Dec 52023 | Resource exhaustion via memory leak in tokio-boring | Medium5.3 | 4.1.0 |
| Nov 212023 | WebSocket message can cause crash | Medium | v1.20231121.0 |
| May 122023 | Buffer under-read in workerd | Medium6.5 | v1.20230419.0 |
| May 102023 | Improper random reading in CIRCL | Medium5.3 | 1.3.3 |
| Mar 212023 | Local Privilege Escalation Vulnerability in cloudflared's Installer | High7.5 | 2023.3.1 |