Arbitrary File Upload Affecting onionshare-cli package, versions [0,2.5)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.1% (86th 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 Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ONIONSHARECLI-1924470
  • published21 Nov 2021
  • disclosed19 Nov 2021
  • creditd0td0tslash

Introduced: 19 Nov 2021

CVE-2021-41868  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade onionshare-cli to version 2.5 or higher.

Overview

onionshare-cli is a software that lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does not require setting up a separate server or using a third party file-sharing service.

Affected versions of this package are vulnerable to Arbitrary File Upload by unauthenticated remote users, via the --receive functionality, which initiates the file upload process before checking for Flask HTTPAuth.

CVSS Scores

version 3.1