Advisory

GHSA-fwvg-2739-22v7

Also known as: CVE-2023-7078

Summary

Miniflare vulnerable to Server-Side Request Forgery (SSRF)

Details

Impact
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.

Patches
The issue was fixed in [email protected].

Workarounds
Ensure Miniflare is configured to listen on just local interfaces. This is the default behaviour, but can also be configured with the host: "127.0.0.1" option.

References

  • https://github.com/cloudflare/workers-sdk/pull/4532

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-12-29 19:36 UTC
Modified
2026-07-08 06:53 UTC

Affected packages and fixes

miniflare

npm · All systems

Affected

  • introduced 3.20230821.0, fixed 3.20231030.2 (semver)

Fixed versions

3.20231030.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences