Improper Input Validation Affecting onionshare-cli package, versions [,2.5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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 Improper Input Validation vulnerabilities in an interactive lesson.

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

Introduced: 19 Jan 2022

CVE-2022-21696  (opens in a new tab)
CWE-20  (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 Improper Input Validation where an attacker with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.

CVSS Scores

version 3.1