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


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.28% (69th 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-UPPYCOMPANION-609858
  • published6 Sept 2020
  • disclosed3 Sept 2020
  • creditUnknown

Introduced: 3 Sep 2020

CVE-2020-8135  (opens in a new tab)
CWE-918  (opens in a new tab)

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

CVSS Scores

version 3.1