Unrestricted Upload of File with Dangerous Type Affecting psitransfer package, versions <2.2.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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 Unrestricted Upload of File with Dangerous Type vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PSITRANSFER-6594213
  • published10 Apr 2024
  • disclosed9 Apr 2024
  • creditPolina Zvorykina

Introduced: 9 Apr 2024

CVE-2024-31453  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade psitransfer to version 2.2.0 or higher.

Overview

psitransfer is a Simple open source self-hosted file sharing solution

Affected versions of this package are vulnerable to Unrestricted Upload of File with Dangerous Type on the endpoint, which allows users to create a path for uploading a file in a file distribution. An attacker can influence those users who access the file distribution subsequently and insert files with malicious or phishing content by adding arbitrary files to the distribution.

References

CVSS Scores

version 3.1