Access Restriction Bypass 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.07% (33rd 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ONIONSHARECLI-2343463
  • published19 Jan 2022
  • disclosed19 Jan 2022
  • creditUnknown

Introduced: 19 Jan 2022

CVE-2022-21695  (opens in a new tab)
CWE-287  (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 Access Restriction Bypass when a user opens the chatroom without emitting the join message he will not be present in session.users[x] list. Therefore there is no listing in the frontend and no chat participant knows another party joined the chat. Note: for remediation, it is recommended to allow chat access only after emission of the join event and to implement proper session handling.

References

CVSS Scores

version 3.1