Vulnerability · Published Jan 18, 2022 · Assigned by GitHub_M

CVE-2022-21693Path traversal in Onionshare

Medium 6.3

In plain English

A medium-severity path traversal in onionshare from onionshare. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)1.2%top 32.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 an adversary with a primitive that allows for filesystem access from the context of the Onionshare process can access sensitive files in the entire user home folder. This could lead to the leaking of sensitive data. Due to the automatic exclusion of hidden folders, the impact is reduced. This can be mitigated by usage of the flatpak release.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onionshare2.5-1DEBIAN-CVE-2022-21693
Debian:13onionshare2.5-1DEBIAN-CVE-2022-21693
Debian:14onionshare2.5-1DEBIAN-CVE-2022-21693
PyPIonionshare-cli2.5PYSEC-2022-44
PyPIonionshare-cli2.5GHSA-jgm9-xpfj-4fq6
Ubuntu:22.04:LTSonionshare2.2-3UBUNTU-CVE-2022-21693
Ubuntu:24.04:LTSonionshare2.6-6ubuntu1UBUNTU-CVE-2022-21693

Affected products (as reported)

VendorProductVersions
onionshare onionshare < 2.5

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

References