CVE-2022-21693 json
Path traversal in Onionshare
published 2022-01-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-jgm9-xpfj-4fq6 , PYSEC-2022-44 , EUVD-2022-0184
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi onionshare-cli 2.5
- onionshare onionshare 2.5
- onionshare Debian 14, Debian 13, Debian 12 2.5-1
debian advisories DEBIAN-CVE-2022-21693
- python-onionshare openSUSE Tumbleweed 2.5-1.1
- python3-onionshare openSUSE Tumbleweed 2.6-4.1
opensuse advisories openSUSE-SU-2024:11983-1openSUSE-SU-2024:13635-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-21693 updated cvss 6.5
onionshare: path traversal
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.16% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | onionshare-cli | >=2.3, <2.5 <2.5 |
2.5 |
Affected products
- onionshare onionshare
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/onionshare/onionshare/releases/tag/v2.5
web, release-notes, third-party-advisory
-
github.com
/onionshare/onionshare/security/advisories/GHSA-jgm9-xpfj-4fq6
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21693
advisory
-
github.com
/onionshare/onionshare
package
-
github.com
/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-44.yaml
web
Sources
- CVE List CVE-2022-21693
- GitHub Advisory GHSA-jgm9-xpfj-4fq6
- NVD CVE-2022-21693
- OSV PYSEC-2022-44
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.