Server-side Request Forgery (SSRF) Affecting @uppy/companion package, versions <1.9.3


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Scope Changed
    Confidentiality High

    Threat Intelligence

    EPSS 0.28% (68th percentile)
Expand this section
NVD
9.8 critical

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-UPPYCOMPANION-609858
  • published 6 Sep 2020
  • disclosed 3 Sep 2020
  • credit Unknown

How to fix?

Upgrade @uppy/companion to version 1.9.3 or higher.

Overview

@uppy/companion is a server integration for Uppy file uploader.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF). The get route passes the user-controlled variable req.body.url to a GET request without sanitizing the value. This allows attackers to inject arbitrary URLs and make GET requests on behalf of the server.

References