Incorrect Permission Assignment for Critical Resource Affecting onionshare-cli package, versions [,2.5)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.11% (47th 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 IDSNYK-PYTHON-ONIONSHARECLI-2343488
  • published19 Jan 2022
  • disclosed19 Jan 2022
  • creditUnknown

Introduced: 19 Jan 2022

CVE-2022-21694  (opens in a new tab)
CWE-732  (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 Incorrect Permission Assignment for Critical Resource. The website mode of the application allows to use a hardened CSP, which will block any scripts and external resources.

CVSS Scores

version 3.1