CVE-2022-21689 Affecting onionshare package, versions <2.2-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.45% (75th 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-UBUNTU2004-ONIONSHARE-2356665
  • published9 Jul 2025
  • disclosed18 Jan 2022

Introduced: 18 Jan 2022

CVE-2022-21689  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 onionshare to version 2.2-1ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream onionshare package and not the onionshare package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions the receive mode limits concurrent uploads to 100 per second and blocks other uploads in the same second, which can be triggered by a simple script. An adversary with access to the receive mode can block file upload for others. There is no way to block this attack in public mode due to the anonymity properties of the tor network.

CVSS Base Scores

version 3.1