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

    Threat Intelligence

    EPSS
    0.05% (19th 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 ID SNYK-JS-MINIFLARE-6140499
  • published 31 Dec 2023
  • disclosed 29 Dec 2023
  • credit Lekensteyn

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
Expand this section

Snyk

Recommended
8 high
  • Attack Vector (AV)
    Adjacent
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

8.1 high