title: Server-Side Request Forgery (SSRF) in Miniflare
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.
problem types: CWE-918 Server-Side Request Forgery (SSRF)
affected:
{
defaultStatus: unaffected
packageName: miniflare
platforms: [Windows, MacOS, Linux]
product: miniflare
repo: https://github.com/cloudflare/workers-sdk
vendor: Cloudflare
versions:
changes: [at: 3.20231030.2, status: unaffected], lessThanOrEqual: <=3.20230821.0, status: affected, version: 0, versionType: patch
changes: [at: 3.20231030.2, status: unaffected], lessThan: 3.20231030.2, status: affected, version: 0, versionType: patch
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: ADJACENT_NETWORK
availabilityImpact: NONE
baseScore: 7.5
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
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.