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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21693 |
| Debian:13 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21693 |
| Debian:14 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21693 |
| PyPI | onionshare-cli | 2.5 | PYSEC-2022-44 |
| PyPI | onionshare-cli | 2.5 | GHSA-jgm9-xpfj-4fq6 |
| Ubuntu:22.04:LTS | onionshare | 2.2-3 | UBUNTU-CVE-2022-21693 |
| Ubuntu:24.04:LTS | onionshare | 2.6-6ubuntu1 | UBUNTU-CVE-2022-21693 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/onionshare/onionshare/releases/tag/v2.5 x_refsource_MISC
- https://github.com/onionshare/onionshare/security/advisories/GHSA-jgm9-xpfj-4fq6 x_refsource_CONFIRM