{"answers":{"affected":"2 open source packages ship an affected version, including miniflare. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-7078 in the wild and no public exploit code.","fix":"Upgrade miniflare to 3.20231030.2 or later.","what":"CVE-2023-7078 is a high-severity server-side request forgery vulnerability in Cloudflare miniflare, published on 29 Dec 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-7078 and fix it if it is affected.\n\nWhat it is: CVE-2023-7078 is a high-severity server-side request forgery vulnerability in Cloudflare miniflare, published on 29 Dec 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-7078 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- miniflare (npm): affected from 3.20230821.0; fixed in 3.20231030.2\n- miniflare (npm): affected from 3.20230821.0; fixed in 3.20231030.2\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-7078/ (Markdown: https://insights.sbomify.com/CVE-2023-7078/index.md)","id":"CVE-2023-7078","markdown":"https://insights.sbomify.com/CVE-2023-7078/index.md","name":"CVE-2023-7078","record":{"aliases":["GHSA-fwvg-2739-22v7"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Miniflare local dev server","requires_auth":"none","summary":"An attacker on the local network can send arbitrary HTTP and WebSocket requests from the server if Miniflare listens on external interfaces.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"miniflare","vendor":"cloudflare"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Sending specially crafted HTTP requests to Miniflare's server could result in arbitrary HTTP and WebSocket requests being sent from the server. If Miniflare was configured to listen on external network interfaces (as was the default in wrangler until 3.19.0), an attacker on the local network could access other local servers.","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":"Server-Side Request Forgery (SSRF) in Miniflare","id":"CVE-2023-7078","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Arbitrary remote file read in Wrangler dev server","id":"CVE-2023-7079"},"packages":[{"ecosystem":"npm","fixed":["3.20231030.2"],"introduced":["3.20230821.0"],"last_affected":[],"package":"miniflare","purl":null,"source":"GHSA-fwvg-2739-22v7"},{"ecosystem":"npm","fixed":["3.20231030.2"],"introduced":["3.20230821.0"],"last_affected":[],"package":"miniflare","purl":"pkg:npm/miniflare","source":"GHSA-fwvg-2739-22v7"}],"prev":{"headline":"Path traversal in P403, P463, P553, P703, P801, X554UN, X464UN, X554UNS, X464UNV, X474HB, X464UNS, X554UNV, X555UNS, X555UNV, X754HB, X554HB, E705, E805, E905, UN551S, UN551VS, X551UHD, X651UHD, X841UHD, X981UHD, MD551C8","id":"CVE-2023-7077"},"products":["miniflare"],"published":"2023-12-29","related":[],"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":"total"},"state":"PUBLISHED","updated":"2024-08-26","vendors":["Cloudflare"]},"summary":"An attacker on the local network can send arbitrary HTTP and WebSocket requests from the server if Miniflare listens on external interfaces.","url":"https://insights.sbomify.com/CVE-2023-7078/"}