Server-Side Request Forgery (SSRF) Affecting miniflare package, versions >=3.20230821.0 <3.20231030.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MINIFLARE-6140499
  • published31 Dec 2023
  • disclosed29 Dec 2023
  • creditLekensteyn

Introduced: 29 Dec 2023

CVE-2023-7078  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade miniflare to version 3.20231030.2 or higher.

Overview

miniflare is a Fun, full-featured, fully-local simulator for Cloudflare Workers

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) via specially crafted HTTP and WebSocket requests to the server. An attacker can access other local servers, by sending arbitrary requests from the server by accessing it when configured to listen on external network interfaces.

Workaround

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.

CVSS Scores

version 3.1