USN-7625-1: OnionShare vulnerabilities

Publication date

8 July 2025

Overview

Several security issues were fixed in OnionShare.


Packages

  • onionshare - An open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network

Details

It was discovered that OnionShare could be exploited when run with
the --debug argument. A local attacker could possibly use this
issue to access sensitive information. This issue only affected
Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-19960)

It was discovered that OnionShare could be blocked from uploading
files. An attacker could possibly use this issue to cause a
denial of service. This issue only affected Ubuntu 20.04 LTS and
Ubuntu 22.04 LTS. (CVE-2022-21689)

It was discovered that OnionShare could be exploited when run with
the --debug argument. A local attacker could possibly use this
issue to access sensitive information. This issue only affected
Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-19960)

It was discovered that OnionShare could be blocked from uploading
files. An attacker could possibly use this issue to cause a
denial of service. This issue only affected Ubuntu 20.04 LTS and
Ubuntu 22.04 LTS. (CVE-2022-21689)

Update instructions

After a standard system update you need to restart OnionShare to make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy onionshare –  2.2-3ubuntu0.1~esm1  
20.04 focal onionshare –  2.2-1ubuntu0.1~esm1  
18.04 bionic onionshare –  0.9.2-1ubuntu0.1~esm1  
16.04 xenial onionshare –  0.8.1-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›