{"answers":{"affected":"2 open source packages ship an affected version, including wrangler. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-3348 in the wild and no public exploit code.","fix":"Upgrade wrangler to 2.20.1 or later.","what":"CVE-2023-3348 is a medium-severity path traversal vulnerability in Cloudflare Wrangler, published on 3 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-3348 and fix it if it is affected.\n\nWhat it is: CVE-2023-3348 is a medium-severity path traversal vulnerability in Cloudflare Wrangler, published on 3 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-3348 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- wrangler (npm): affected all versions; fixed in 2.20.1\n- wrangler (npm): affected all versions; fixed in 2.20.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-3348/ (Markdown: https://insights.sbomify.com/CVE-2023-3348/index.md)","id":"CVE-2023-3348","markdown":"https://insights.sbomify.com/CVE-2023-3348/index.md","name":"CVE-2023-3348","record":{"aliases":["GHSA-8c93-4hch-xgxp"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cloudflare Wrangler CLI","requires_auth":"none","summary":"An attacker on the same network can access files outside the development directory via the local Pages development server in Cloudflare Wrangler.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"wrangler","vendor":"cloudflare"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The Wrangler command line tool  (\u003c=wrangler@3.1.0 or \u003c=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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Directory traversal vulnerability in Cloudflare Wrangler","id":"CVE-2023-3348","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Information exposure on IBERMATICA RPS","id":"CVE-2023-3349"},"packages":[{"ecosystem":"npm","fixed":["2.20.1"],"introduced":["0"],"last_affected":[],"package":"wrangler","purl":null,"source":"GHSA-8c93-4hch-xgxp"},{"ecosystem":"npm","fixed":["2.20.1"],"introduced":["0"],"last_affected":[],"package":"wrangler","purl":"pkg:npm/wrangler","source":"GHSA-8c93-4hch-xgxp"}],"prev":{"headline":"Samba: smb2 packet signing is not enforced when \"server signing = required\" is set","id":"CVE-2023-3347"},"products":["Wrangler"],"published":"2023-08-03","related":[{"cvss_score":8.5,"headline":"Arbitrary remote code execution within wrangler dev Workers sandbox","id":"CVE-2023-7080","kev_date_added":null,"published":"2023-12-29"},{"cvss_score":7.7,"headline":"OS Command Injection in `wrangler pages deploy`","id":"CVE-2026-0933","kev_date_added":null,"published":"2026-01-20"},{"cvss_score":6.4,"headline":"Arbitrary remote file read in Wrangler dev server","id":"CVE-2023-7079","kev_date_added":null,"published":"2023-12-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-09","vendors":["Cloudflare"]},"summary":"An attacker on the same network can access files outside the development directory via the local Pages development server in Cloudflare Wrangler.","url":"https://insights.sbomify.com/CVE-2023-3348/"}